From 6973e752d2853a5cf7547403247d47ebb0964116 Mon Sep 17 00:00:00 2001 From: Jelle Hissink Date: Sun, 29 Jan 2017 14:41:14 +0100 Subject: [PATCH] Vmware vsphere vnc port timeout increased --- 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 389f8122f..4bac820bb 100644 --- a/builder/vmware/iso/driver_esx5.go +++ b/builder/vmware/iso/driver_esx5.go @@ -205,7 +205,7 @@ func (d *ESX5Driver) VNCAddress(_ string, portMin, portMax uint) (string, uint, } address := fmt.Sprintf("%s:%d", d.Host, port) log.Printf("Trying address: %s...", address) - l, err := net.DialTimeout("tcp", address, 1*time.Second) + l, err := net.DialTimeout("tcp", address, 5*time.Second) if err != nil { if e, ok := err.(*net.OpError); ok {