From a49cd8a685d99af3dbda3f09474d813df951e40c Mon Sep 17 00:00:00 2001 From: Gio Gutierrez Date: Wed, 27 Oct 2021 12:23:31 -0500 Subject: [PATCH] feat: Use new bridge interface name on OSX Monterey --- pkg/minikube/tunnel/tunnel.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/minikube/tunnel/tunnel.go b/pkg/minikube/tunnel/tunnel.go index 21acd21509d3..a80a7aaaaea9 100644 --- a/pkg/minikube/tunnel/tunnel.go +++ b/pkg/minikube/tunnel/tunnel.go @@ -200,7 +200,7 @@ func setupBridge(t *tunnel) { return } iface := string(response) - pattern := regexp.MustCompile(`.*member: (en\d+) flags=.*`) + pattern := regexp.MustCompile(`.*member: ((?:vm)?en(?:et)?\d+) flags=.*`) submatch := pattern.FindStringSubmatch(iface) if len(submatch) != 2 { t.status.RouteError = fmt.Errorf("couldn't find member in bridge100 interface: %s", iface)