mirror of
https://github.com/dev-sec/linux-baseline
synced 2024-11-10 13:44:14 +00:00
updating common files
updating files: ["lockdown/serverspec/spec_helper.rb", "default/serverspec/spec_helper.rb"]
This commit is contained in:
parent
2019279a6f
commit
84b56e4822
2 changed files with 2 additions and 6 deletions
|
@ -52,9 +52,7 @@ if ENV['STANDALONE_SPEC']
|
|||
end
|
||||
|
||||
c.host = ENV['TARGET_HOST']
|
||||
options.merge(Net::SSH::Config.for(c.host))
|
||||
c.ssh = Net::SSH.start(c.host, user, options)
|
||||
c.os = backend.check_os
|
||||
c.ssh_options = options.merge(Net::SSH::Config.for(c.host))
|
||||
|
||||
end
|
||||
|
||||
|
|
|
@ -52,9 +52,7 @@ if ENV['STANDALONE_SPEC']
|
|||
end
|
||||
|
||||
c.host = ENV['TARGET_HOST']
|
||||
options.merge(Net::SSH::Config.for(c.host))
|
||||
c.ssh = Net::SSH.start(c.host, user, options)
|
||||
c.os = backend.check_os
|
||||
c.ssh_options = options.merge(Net::SSH::Config.for(c.host))
|
||||
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue