lib/kitchen/driver/cloudstack.rb in kitchen-cloudstack-0.20.1 vs lib/kitchen/driver/cloudstack.rb in kitchen-cloudstack-0.20.2

- old
+ new

@@ -159,9 +159,10 @@ ssh = Fog::SSH.new(state[:hostname], config[:username], {:keys => keypair}) debug("Connecting to : #{state[:hostname]} as #{config[:username]} using keypair #{keypair}.") elsif (server_info.fetch('passwordenabled') == true) password = server_info.fetch('password') + config[:password] = password # Print out IP and password so you can record it if you want. info("Password for #{config[:username]} at #{state[:hostname]} is #{password}") wait_for_sshd(state[:hostname], config[:username], {:password => password}) debug("SSH connectivity validated with cloudstack-set password.")