plugins/hosts/darwin/cap/rdp.rb in vagrant-unbundled-1.8.5.2 vs plugins/hosts/darwin/cap/rdp.rb in vagrant-unbundled-1.9.1.1
- old
+ new
@@ -38,15 +38,15 @@
# Create the ".rdp" file
t = ::Tempfile.new(["vagrant-rdp", ".rdp"]).tap do |f|
f.binmode
opts.each do |k, v|
- f.write("#{k}:#{v}")
+ f.puts("#{k}:#{v}")
end
if rdp_info[:extra_args]
rdp_info[:extra_args].each do |arg|
- f.write("#{arg}")
+ f.puts("#{arg}")
end
end
f.fsync
f.close