Commit 41f4ce56 authored by Mitchell Hashimoto's avatar Mitchell Hashimoto

builder/virtualbox: "stopping" is still running [GH-30]

parent fd44adf2
......@@ -53,6 +53,12 @@ func (d *VBox42Driver) IsRunning(name string) (bool, error) {
if line == `VMState="running"` {
return true, nil
}
// We consider "stopping" to still be running. We wait for it to
// be completely stopped or some other state.
if line == `VMState="stopping"` {
return true, nil
}
}
return false, nil
......
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