Skip to content

Commit 84b56e4

Browse files
committed
updating common files
updating files: ["lockdown/serverspec/spec_helper.rb", "default/serverspec/spec_helper.rb"]
1 parent 2019279 commit 84b56e4

2 files changed

Lines changed: 2 additions & 6 deletions

File tree

default/serverspec/spec_helper.rb

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -52,9 +52,7 @@
5252
end
5353

5454
c.host = ENV['TARGET_HOST']
55-
options.merge(Net::SSH::Config.for(c.host))
56-
c.ssh = Net::SSH.start(c.host, user, options)
57-
c.os = backend.check_os
55+
c.ssh_options = options.merge(Net::SSH::Config.for(c.host))
5856

5957
end
6058

lockdown/serverspec/spec_helper.rb

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -52,9 +52,7 @@
5252
end
5353

5454
c.host = ENV['TARGET_HOST']
55-
options.merge(Net::SSH::Config.for(c.host))
56-
c.ssh = Net::SSH.start(c.host, user, options)
57-
c.os = backend.check_os
55+
c.ssh_options = options.merge(Net::SSH::Config.for(c.host))
5856

5957
end
6058

0 commit comments

Comments
 (0)