builder/vmware: compile host_ip on every platform

pull/919/head
Mitchell Hashimoto 13 years ago
parent 1286f735be
commit 8ac03e4898

@ -1,5 +1,3 @@
// +build darwin freebsd linux netbsd openbsd
package vmware
// Interface to help find the host IP that is available from within

@ -57,7 +57,9 @@ func (*VMnetNatConfIPFinder) HostIP() (string, error) {
break
}
return "", err
if err != nil {
return "", err
}
}
return "", errors.New("host IP not found in NAT config")

Loading…
Cancel
Save