mirror of
https://github.com/hashicorp/packer.git
synced 2026-06-14 19:20:04 -04:00
Vmware vsphere vnc port timeout increased
This commit is contained in:
parent
60a0d21d37
commit
6973e752d2
1 changed files with 1 additions and 1 deletions
|
|
@ -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, 1*time.Second)
|
||||
l, err := net.DialTimeout("tcp", address, 5*time.Second)
|
||||
|
||||
if err != nil {
|
||||
if e, ok := err.(*net.OpError); ok {
|
||||
|
|
|
|||
Loading…
Reference in a new issue