Merge pull request #3962 from StefanScherer/fix_hosts_windows_cap_rdp

hosts/windows: fixed writing rdp file on windows host
This commit is contained in:
Mitchell Hashimoto 2014-06-02 22:08:13 -07:00
commit 984bea0bd4
1 changed files with 2 additions and 2 deletions

View File

@ -21,12 +21,12 @@ module VagrantPlugins
"vagrant-rdp-#{Time.now.to_i}-#{rand(10000)}.rdp")
config_path.open("w+") do |f|
opts.each do |k, v|
config.puts("#{k}:#{v}")
f.puts("#{k}:#{v}")
end
end
# Build up the args to mstsc
args = [config.path]
args = [config_path.to_s]
if rdp_info[:extra_args]
args = rdp_info[:extra_args] + args
end