builder/virtualbox: say when forcefully shutting down

This commit is contained in:
Mitchell Hashimoto 2013-06-12 18:19:29 -07:00
parent 6516e5a627
commit 760995dba1
1 changed files with 1 additions and 0 deletions

View File

@ -59,6 +59,7 @@ func (s *stepShutdown) Run(state map[string]interface{}) multistep.StepAction {
} }
} }
} else { } else {
ui.Say("Halting the virtual machine...")
if err := driver.Stop(vmName); err != nil { if err := driver.Stop(vmName); err != nil {
ui.Error(fmt.Sprintf("Error stopping VM: %s", err)) ui.Error(fmt.Sprintf("Error stopping VM: %s", err))
return multistep.ActionHalt return multistep.ActionHalt