lib/testlab/node/ssh.rb in testlab-0.8.2 vs lib/testlab/node/ssh.rb in testlab-0.8.3
- old
+ new
@@ -29,10 +29,10 @@
c.proxy_user = @provider.user
c.proxy_keys = @provider.identity
c.host_name = container.ip
- c.user = (options[:user] || container.primary_user.id)
+ c.user = (options[:user] || container.primary_user.username)
c.password = (options[:passwd] || container.primary_user.password)
c.keys = (options[:keys] || [container.primary_user.identity, @provider.identity].flatten.compact)
end
end
@container_ssh[name]