fixed cmdkey arguments
The arguments contained not needed TTERMSRV/
This commit is contained in:
parent
aaebe97e8a
commit
f035664b78
|
@ -9,7 +9,7 @@ module VagrantPlugins
|
|||
class RDP
|
||||
def self.rdp_client(env, rdp_info)
|
||||
# Setup password
|
||||
cmdKeyArgs = ["/add:TERMSRV/#{rdp_info[:host]}:#{rdp_info[:port]}", "/user:#{rdp_info[:username]}", "/pass:#{rdp_info[:password]}"]
|
||||
cmdKeyArgs = ["/add:#{rdp_info[:host]}:#{rdp_info[:port]}", "/user:#{rdp_info[:username]}", "/pass:#{rdp_info[:password]}"]
|
||||
Vagrant::Util::Subprocess.execute("cmdkey", *cmdKeyArgs )
|
||||
|
||||
# Build up the args to mstsc
|
||||
|
|
Loading…
Reference in New Issue