core: output when upgrading home path

This commit is contained in:
Mitchell Hashimoto 2014-03-11 11:06:38 -07:00
parent dabbb837fb
commit 49471ffbf6
2 changed files with 7 additions and 0 deletions

View File

@ -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

View File

@ -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: |-