Merge pull request #4726 from databus23/patch-3
Add password to rdp_info hash
This commit is contained in:
commit
bf45aa6233
|
@ -69,7 +69,15 @@ module VagrantPlugins
|
|||
end
|
||||
rdp_info[:username] = username
|
||||
end
|
||||
|
||||
|
||||
if !rdp_info[:password]
|
||||
password = ssh_info[:password]
|
||||
if machine.config.vm.communicator == :winrm
|
||||
password = machine.config.winrm.password
|
||||
end
|
||||
rdp_info[:password] = password
|
||||
end
|
||||
|
||||
rdp_info[:host] ||= ssh_info[:host]
|
||||
rdp_info[:port] ||= machine.config.rdp.port
|
||||
|
||||
|
|
Loading…
Reference in New Issue