diff --git a/plugins/providers/virtualbox/action/set_name.rb b/plugins/providers/virtualbox/action/set_name.rb index 649b08d27..e75670846 100644 --- a/plugins/providers/virtualbox/action/set_name.rb +++ b/plugins/providers/virtualbox/action/set_name.rb @@ -35,8 +35,8 @@ module VagrantPlugins if vms.has_key?(name) @logger.info("Not setting the name because our name is already set.") else - @logger.info("Setting the name of the VM: #{name}") - env[:ui].info(I18n.t("vagrant.actions.vm.set_name.setting_name")) + env[:ui].info(I18n.t( + "vagrant.actions.vm.set_name.setting_name", name: name)) env[:machine].provider.driver.set_name(name) end diff --git a/plugins/providers/virtualbox/synced_folder.rb b/plugins/providers/virtualbox/synced_folder.rb index 419b70a54..dfd8251dc 100644 --- a/plugins/providers/virtualbox/synced_folder.rb +++ b/plugins/providers/virtualbox/synced_folder.rb @@ -35,12 +35,13 @@ module VagrantPlugins end # Go through each folder and mount - machine.ui.info(I18n.t("vagrant.actions.vm.share_folders.mounting")) + machine.ui.output(I18n.t("vagrant.actions.vm.share_folders.mounting")) folders.each do |id, data| if data[:guestpath] # Guest path specified, so mount the folder to specified point - machine.ui.info(I18n.t("vagrant.actions.vm.share_folders.mounting_entry", - :guest_path => data[:guestpath])) + machine.ui.detail(I18n.t("vagrant.actions.vm.share_folders.mounting_entry", + guestpath: data[:guestpath], + hostpath: data[:hostpath])) # Dup the data so we can pass it to the guest API data = data.dup @@ -55,8 +56,8 @@ module VagrantPlugins :mount_virtualbox_shared_folder, id, data[:guestpath], data) else # If no guest path is specified, then automounting is disabled - machine.ui.info(I18n.t("vagrant.actions.vm.share_folders.nomount_entry", - :host_path => data[:hostpath])) + machine.ui.detail(I18n.t("vagrant.actions.vm.share_folders.nomount_entry", + :hostpath => data[:hostpath])) end end end diff --git a/templates/locales/en.yml b/templates/locales/en.yml index ae6acd861..03b376c8a 100644 --- a/templates/locales/en.yml +++ b/templates/locales/en.yml @@ -1189,11 +1189,11 @@ en: share_folders: creating: Creating shared folders metadata... mounting: Mounting shared folders... - mounting_entry: "-- %{guest_path}" - nomount_entry: "-- Automounting disabled: %{host_path}" + mounting_entry: "%{guestpath} => %{hostpath}" + nomount_entry: "Automounting disabled: %{hostpath}" set_name: setting_name: |- - Setting the name of the VM... + Setting the name of the VM: %{name} suspend: suspending: Saving VM state and suspending execution...