vmware-iso builder: Logging on network errors on connection refused

pull/5456/head
Olivier Bilodeau 9 years ago
parent f617a678b1
commit 820811675d

@ -302,6 +302,9 @@ func (d *ESX5Driver) CommHost(state multistep.StateBag) (string, error) {
if e.Timeout() {
log.Printf("Timeout connecting to %s", record["IPAddress"])
continue
} else if strings.Contains(e.Error(), "connection refused") {
log.Printf("Connection refused when connecting to: %s", record["IPAddress"])
continue
}
}
} else {

Loading…
Cancel
Save