builder/vmware: wait for shutdown to avoid corrupt disk files [GH-111]
This commit is contained in:
parent
8ece9a60d5
commit
f36972f52a
@ -6,6 +6,11 @@ IMPROVEMENTS:
|
|||||||
* amazon-ebs: Access key and secret access key default to
|
* amazon-ebs: Access key and secret access key default to
|
||||||
environmental variables. [GH-40]
|
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)
|
## 0.1.3 (July 1, 2013)
|
||||||
|
|
||||||
FEATURES:
|
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.")
|
log.Println("VM shut down.")
|
||||||
return multistep.ActionContinue
|
return multistep.ActionContinue
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user