vmware/esx: try for longer to connect to vnc port

This commit is contained in:
Matthew Hooker 2017-02-28 22:21:19 -08:00
parent 9de8545875
commit 8cc2ed7d6e
No known key found for this signature in database
GPG Key ID: 7B5F933D9CE8C6A1
1 changed files with 1 additions and 1 deletions

View File

@ -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 {