diff --git a/lib/vagrant/ui.rb b/lib/vagrant/ui.rb index d7f11dd04..9657ee433 100644 --- a/lib/vagrant/ui.rb +++ b/lib/vagrant/ui.rb @@ -84,6 +84,7 @@ module Vagrant # Prepare the data by replacing characters that aren't outputted data.each_index do |i| data[i] = data[i].to_s + data[i] = data[i].dup if data[i].frozen? data[i].gsub!(",", "%!(VAGRANT_COMMA)") data[i].gsub!("\n", "\\n") data[i].gsub!("\r", "\\r")