builder/vmware: wait for shutdown to avoid corrupt disk files [GH-111]

pull/919/head
Mitchell Hashimoto 13 years ago
parent 857beb6167
commit e0881a133b

@ -6,6 +6,11 @@ IMPROVEMENTS:
* amazon-ebs: Access key and secret access key default to
environmental variables. [GH-40]
BUG FIXES:
* vmware: Wait until shut down cleans up properly to avoid corrupt
disk files [GH-111]
## 0.1.3 (July 1, 2013)
FEATURES:

@ -72,6 +72,9 @@ func (s *stepShutdown) Run(state map[string]interface{}) multistep.StepAction {
}
}
log.Println("Giving VMware a few extra seconds to clean up after itself...")
time.Sleep(5 * time.Second)
log.Println("VM shut down.")
return multistep.ActionContinue
}

Loading…
Cancel
Save