Commit f134bcc3 authored by Mitchell Hashimoto's avatar Mitchell Hashimoto

builder/vmware/common: better UI when forcibly shutting down

parent 2b3d98d4
......@@ -88,6 +88,7 @@ func (s *StepShutdown) Run(state multistep.StateBag) multistep.StepAction {
}
}
} else {
ui.Say("Forcibly halting virtual machine...")
if err := driver.Stop(vmxPath); err != nil {
err := fmt.Errorf("Error stopping VM: %s", err)
state.Put("error", err)
......
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