Merge pull request #4610 from mitchellh/vnctenacity

vmware/esx: try for longer to connect to vnc port
pull/4616/head
Matthew Hooker 9 years ago committed by GitHub
commit ed239c421d

@ -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, 5*time.Second)
l, err := net.DialTimeout("tcp", address, 30*time.Second)
if err != nil {
if e, ok := err.(*net.OpError); ok {

Loading…
Cancel
Save