builder/virtualbox: say when forcefully shutting down
This commit is contained in:
parent
6516e5a627
commit
760995dba1
|
@ -59,6 +59,7 @@ func (s *stepShutdown) Run(state map[string]interface{}) multistep.StepAction {
|
|||
}
|
||||
}
|
||||
} else {
|
||||
ui.Say("Halting the virtual machine...")
|
||||
if err := driver.Stop(vmName); err != nil {
|
||||
ui.Error(fmt.Sprintf("Error stopping VM: %s", err))
|
||||
return multistep.ActionHalt
|
||||
|
|
Loading…
Reference in New Issue