builder/vmware: compile host_ip on every platform
This commit is contained in:
parent
1ff52979fe
commit
ce4db65fa0
|
@ -1,5 +1,3 @@
|
||||||
// +build darwin freebsd linux netbsd openbsd
|
|
||||||
|
|
||||||
package vmware
|
package vmware
|
||||||
|
|
||||||
// Interface to help find the host IP that is available from within
|
// Interface to help find the host IP that is available from within
|
||||||
|
|
|
@ -57,8 +57,10 @@ func (*VMnetNatConfIPFinder) HostIP() (string, error) {
|
||||||
break
|
break
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if err != nil {
|
||||||
return "", err
|
return "", err
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
return "", errors.New("host IP not found in NAT config")
|
return "", errors.New("host IP not found in NAT config")
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue