Merge pull request #5456 from GoSecure/vmware-iso-improved-network-logging

vmware-iso builder: Logging on network errors on connection refused
pull/5662/head
SwampDragons 9 years ago committed by GitHub
commit 8a30b3db80
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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