From d35eeecf46e96a4def1ae4085fcc5b765508d01c Mon Sep 17 00:00:00 2001 From: Matthew Hooker Date: Thu, 22 Jun 2017 17:58:18 -0700 Subject: [PATCH] vnc port discovery timeout is 15 seconds --- builder/vmware/iso/driver_esx5.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/builder/vmware/iso/driver_esx5.go b/builder/vmware/iso/driver_esx5.go index 9f557b540..ea93b400c 100644 --- a/builder/vmware/iso/driver_esx5.go +++ b/builder/vmware/iso/driver_esx5.go @@ -198,7 +198,7 @@ func (d *ESX5Driver) VNCAddress(_ string, portMin, portMax uint) (string, uint, } } - vncTimeout := time.Duration(15) + vncTimeout := time.Duration(15 * time.Second) envTimeout := os.Getenv("PACKER_ESXI_VNC_PROBE_TIMEOUT") if envTimeout != "" { if parsedTimeout, err := time.ParseDuration(envTimeout); err != nil {