core: output what we're updating and what we're not
This commit is contained in:
parent
43157fba18
commit
cf9004241e
|
@ -45,6 +45,12 @@ module VagrantPlugins
|
|||
next
|
||||
end
|
||||
|
||||
machine.ui.output(I18n.t(
|
||||
"vagrant.box_updating",
|
||||
name: update[0].name,
|
||||
provider: update[2].name,
|
||||
old: box.version,
|
||||
new: update[1].version))
|
||||
@env.action_runner.run(Vagrant::Action.action_box_add, {
|
||||
box_url: box.metadata_url,
|
||||
box_provider: update[2].name,
|
||||
|
|
|
@ -48,6 +48,9 @@ en:
|
|||
* '%{name}': Error loading metadata: %{message}
|
||||
box_outdated_no_metadata: |-
|
||||
* '%{name}' wasn't added from a catalog, no version information
|
||||
box_updating: |-
|
||||
Updating '%{name}' with provider '%{provider}' from version
|
||||
'%{old}' to '%{new}'...
|
||||
box_up_to_date: |-
|
||||
* '%{name}' (v%{version}) is up to date
|
||||
box_up_to_date_single: |-
|
||||
|
|
Loading…
Reference in New Issue