lib/testlab/node/ssh.rb in testlab-0.6.6 vs lib/testlab/node/ssh.rb in testlab-0.6.7
- old
+ new
@@ -31,10 +31,10 @@
c.host_name = container.ip
c.user = (options[:user] || container.primary_user.id)
c.password = (options[:passwd] || container.primary_user.password)
- c.keys = (options[:keys] || container.primary_user.identity || @provider.identity)
+ c.keys = (options[:keys] || [container.primary_user.identity, @provider.identity])
end
end
@container_ssh[name]
end