fix copy and paste bug

This commit is contained in:
Fabian Ruff 2014-10-27 18:23:00 +01:00
parent d33c7b4d7a
commit 8990e18e6d
1 changed files with 3 additions and 3 deletions

View File

@ -71,11 +71,11 @@ module VagrantPlugins
end
if !rdp_info[:password]
username = ssh_info[:password]
password = ssh_info[:password]
if machine.config.vm.communicator == :winrm
username = machine.config.winrm.password
password = machine.config.winrm.password
end
rdp_info[:password] = username
rdp_info[:password] = password
end
rdp_info[:host] ||= ssh_info[:host]