Method: KnifeCloudstack::CsStackCreate#knife_ssh_with_password_auth

Defined in:
lib/chef/knife/cs_stack_create.rb

#knife_ssh_with_password_auth(host_list, command) ⇒ Object



207
208
209
210
211
212
# File 'lib/chef/knife/cs_stack_create.rb', line 207

def knife_ssh_with_password_auth(host_list, command)
  ssh = knife_ssh(host_list, command)
  ssh.config[:identity_file] = nil
  ssh.config[:ssh_password] = ssh.get_password
  ssh
end