diff --git a/CHANGELOG.md b/CHANGELOG.md index 028a00409..7fa1ef1a6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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: diff --git a/builder/vmware/step_shutdown.go b/builder/vmware/step_shutdown.go index 078a13a0c..b17436b8b 100644 --- a/builder/vmware/step_shutdown.go +++ b/builder/vmware/step_shutdown.go @@ -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 }