Skip to content

Commit

Permalink
alessiodionisi: update cmd/minikube/cmd/start_flags.go
Browse files Browse the repository at this point in the history
make check and exit message consistent with socket_vmnet

Co-authored-by: Alessio Dionisi <me@alessiodionisi.com>
  • Loading branch information
2 people authored and spowelljr committed Oct 25, 2024
1 parent dfbf3cf commit 7e38554
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cmd/minikube/cmd/start_flags.go
Original file line number Diff line number Diff line change
Expand Up @@ -475,8 +475,8 @@ func getNetwork(driverName string) string {
switch n {
case "vmnet-host", "vmnet-shared", "vmnet-bridged":
//TODO: check if QEMU v7.1+ version is installed
if runtime.GOOS == "windows" {
exit.Message(reason.Usage, "The vmnet network is not yet supported on windows")
if runtime.GOOS != "Darwin" {
exit.Message(reason.Usage, "The vmnet-* network is only supported on macOS")
}
case "socket_vmnet":
if runtime.GOOS != "darwin" {
Expand Down

0 comments on commit 7e38554

Please sign in to comment.