From 156a41bc4b1f6de0806ec7173209b0fce23fa62b Mon Sep 17 00:00:00 2001 From: Arlan Lloyd Date: Sat, 18 Apr 2026 00:17:15 -0700 Subject: [PATCH] support krunkit network.mode: shared Signed-off-by: Arlan Lloyd --- environment/vm/lima/daemon.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/environment/vm/lima/daemon.go b/environment/vm/lima/daemon.go index 1d57da04..6336351a 100644 --- a/environment/vm/lima/daemon.go +++ b/environment/vm/lima/daemon.go @@ -14,8 +14,8 @@ import ( ) func (l *limaVM) startDaemon(ctx context.Context, conf config.Config) (context.Context, error) { - // vmnet is used by QEMU or bridged mode - useVmnet := conf.VMType == limaconfig.QEMU || conf.Network.Mode == "bridged" + // vmnet is used by QEMU, Krunkit, or bridged mode + useVmnet := conf.VMType == limaconfig.QEMU || conf.VMType == limaconfig.Krunkit || conf.Network.Mode == "bridged" // network daemon is only needed for vmnet conf.Network.Address = conf.Network.Address && useVmnet