From 1864ea94fbf16ef7506c70d85f11b6cad1c66ff9 Mon Sep 17 00:00:00 2001 From: "Jason T. Greene" Date: Wed, 6 Dec 2023 14:46:12 -0600 Subject: [PATCH] Fix user-mode net init flag on first time install Previously the WSL user-mode networking distribution was only installed as part of a change, when it should have been also applied installs. This mean that the init flag usage only worked after a previous set command. [NO NEW TESTS NEEDED] Signed-off-by: Jason T. Greene --- pkg/machine/wsl/machine.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/machine/wsl/machine.go b/pkg/machine/wsl/machine.go index 9f7ad76885..e97baf51cb 100644 --- a/pkg/machine/wsl/machine.go +++ b/pkg/machine/wsl/machine.go @@ -671,7 +671,7 @@ func configureSystem(v *MachineVM, dist string) error { return err } - return changeDistUserModeNetworking(dist, user, "", v.UserModeNetworking) + return changeDistUserModeNetworking(dist, user, v.ImagePath, v.UserModeNetworking) } func configureBindMounts(dist string, user string) error {