lib/testlab/node/ssh.rb in testlab-0.4.2 vs lib/testlab/node/ssh.rb in testlab-0.4.3

- old
+ new

@@ -28,14 +28,14 @@ c.proxy_port = @provider.port c.proxy_user = @provider.user c.proxy_keys = @provider.identity c.host_name = container.ip - c.user = container.user + c.user = (options[:user] || container.user) if container.keys.nil? - c.password = container.passwd + c.password = (options[:passwd] || container.passwd) else - c.keys = container.keys + c.keys = (options[:keys] || container.keys) end end end @container_ssh[name] end