Add a log message when the VM master is missing

This commit is contained in:
Seth Vargo 2016-05-29 01:19:56 -04:00
parent 1e7c8e8d6c
commit e2fadbcf08
No known key found for this signature in database
GPG Key ID: 905A90C2949E8787
1 changed files with 5 additions and 1 deletions

View File

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