vnc port discovery timeout is 15 seconds
This commit is contained in:
parent
5921d50588
commit
d35eeecf46
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue