From c280af0b9caecf1f3c347482626d3c96d5750d5b Mon Sep 17 00:00:00 2001 From: Mitchell Hashimoto Date: Tue, 11 Feb 2014 16:03:25 -0800 Subject: [PATCH] core: keep the same UI when handling a box URL --- lib/vagrant/action/builtin/handle_box.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/vagrant/action/builtin/handle_box.rb b/lib/vagrant/action/builtin/handle_box.rb index f936b0fe2..d4100748e 100644 --- a/lib/vagrant/action/builtin/handle_box.rb +++ b/lib/vagrant/action/builtin/handle_box.rb @@ -45,9 +45,11 @@ module Vagrant if box_updated # Reload the environment and set the VM to be the new loaded VM. + old_machine = env[:machine] env[:machine] = machine.vagrantfile.machine( machine.name, machine.provider_name, machine.env.boxes, machine.data_dir, machine.env) + env[:machine].ui = old_machine.ui end @app.call(env)