Commit 760995db authored by Mitchell Hashimoto's avatar Mitchell Hashimoto

builder/virtualbox: say when forcefully shutting down

parent 6516e5a6
...@@ -59,6 +59,7 @@ func (s *stepShutdown) Run(state map[string]interface{}) multistep.StepAction { ...@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment