From b727b0187387a9a2225111c30aa367190db33d1f Mon Sep 17 00:00:00 2001 From: Predrag Rogic Date: Tue, 27 Feb 2024 21:30:49 +0000 Subject: [PATCH] alessiodionisi: update cmd/minikube/cmd/start_flags.go make check and exit message consistent with socket_vmnet Co-authored-by: Alessio Dionisi --- cmd/minikube/cmd/start_flags.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cmd/minikube/cmd/start_flags.go b/cmd/minikube/cmd/start_flags.go index 0d5322b50d61..e7581c2e2354 100644 --- a/cmd/minikube/cmd/start_flags.go +++ b/cmd/minikube/cmd/start_flags.go @@ -476,8 +476,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" {