Skip to content

Commit 156799f

Browse files
authored
support krunkit network.mode: shared (#1560)
Signed-off-by: Arlan Lloyd <arlanlloyd@gmail.com>
1 parent ac8566e commit 156799f

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

environment/vm/lima/daemon.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ import (
1414
)
1515

1616
func (l *limaVM) startDaemon(ctx context.Context, conf config.Config) (context.Context, error) {
17-
// vmnet is used by QEMU or bridged mode
18-
useVmnet := conf.VMType == limaconfig.QEMU || conf.Network.Mode == "bridged"
17+
// vmnet is used by QEMU, Krunkit, or bridged mode
18+
useVmnet := conf.VMType == limaconfig.QEMU || conf.VMType == limaconfig.Krunkit || conf.Network.Mode == "bridged"
1919

2020
// network daemon is only needed for vmnet
2121
conf.Network.Address = conf.Network.Address && useVmnet

0 commit comments

Comments
 (0)