mirror of
https://github.com/hashicorp/packer.git
synced 2026-09-29 03:04:02 -04:00
vnc port discovery timeout is 15 seconds
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user