Skip to content

Commit

Permalink
vnc port discovery timeout is 15 seconds
Browse files Browse the repository at this point in the history
  • Loading branch information
mwhooker committed Jun 23, 2017
1 parent 5921d50 commit d35eeec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion builder/vmware/iso/driver_esx5.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit d35eeec

Please sign in to comment.