diff --git a/plugins/providers/virtualbox/action/import_master.rb b/plugins/providers/virtualbox/action/import_master.rb index d790cf4e1..6e2fc28b6 100644 --- a/plugins/providers/virtualbox/action/import_master.rb +++ b/plugins/providers/virtualbox/action/import_master.rb @@ -52,7 +52,11 @@ module VagrantPlugins " (id=#{env[:clone_id]}) - skipping import step.") return else - env.delete(:clone_id) + if env.delete(:clone_id) + @logger.info("Deleting previous reference for master VM" + + "'#{env[:machine].box.name}' (id=#{env[:clone_id]}) - " + + "maybe it was removed manually") + end end env[:ui].info(I18n.t("vagrant.actions.vm.clone.setup_master"))