From 9dc06b608eae2f934680f7ddbef2e495c0c449c9 Mon Sep 17 00:00:00 2001 From: StefanScherer Date: Fri, 20 Jun 2014 01:07:40 +0200 Subject: [PATCH] increase VMware cleanup timeout to 120 seconds --- builder/vmware/common/step_shutdown.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/builder/vmware/common/step_shutdown.go b/builder/vmware/common/step_shutdown.go index 378d699b1..1b5b95f95 100644 --- a/builder/vmware/common/step_shutdown.go +++ b/builder/vmware/common/step_shutdown.go @@ -102,7 +102,7 @@ func (s *StepShutdown) Run(state multistep.StateBag) multistep.StepAction { ui.Message("Waiting for VMware to clean up after itself...") lockRegex := regexp.MustCompile(`(?i)\.lck$`) - timer := time.After(15 * time.Second) + timer := time.After(120 * time.Second) LockWaitLoop: for { files, err := dir.ListFiles()