From 49471ffbf67aef8e603f1c370540b66f238d62ff Mon Sep 17 00:00:00 2001 From: Mitchell Hashimoto Date: Tue, 11 Mar 2014 11:06:38 -0700 Subject: [PATCH] core: output when upgrading home path --- lib/vagrant/environment.rb | 1 + templates/locales/en.yml | 6 ++++++ 2 files changed, 7 insertions(+) diff --git a/lib/vagrant/environment.rb b/lib/vagrant/environment.rb index 7bec45370..68168d4d6 100644 --- a/lib/vagrant/environment.rb +++ b/lib/vagrant/environment.rb @@ -645,6 +645,7 @@ module Vagrant # This upgrades a home directory that was in the v1.1 format to the # v1.5 format. It will raise exceptions if anything fails. def upgrade_home_path_v1_1 + @ui.output(I18n.t("vagrant.upgrading_home_path_v1_5")) collection = BoxCollection.new( @home_path.join("boxes"), temp_dir_root: tmp_path) collection.upgrade_v1_1_v1_5 diff --git a/templates/locales/en.yml b/templates/locales/en.yml index e12c86c5b..e225ab0e0 100644 --- a/templates/locales/en.yml +++ b/templates/locales/en.yml @@ -170,6 +170,12 @@ en: Error! Your console doesn't support hiding input. We'll ask for input again below, but we WILL NOT be able to hide input. If this is a problem for you, ctrl-C to exit and fix your stdin. + upgrading_home_path_v1_5: |- + Vagrant is upgrading some internal state for the latest version. + Please do not quit Vagrant at this time. While upgrading, Vagrant + will need to copy all your boxes, so it will use a considerable + amount of disk space. After it is done upgrading, the temporary disk + space will be freed. cfengine_config: classes_array: |-