Skip to content

Commit

Permalink
Fix user-mode net init flag on first time install
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
n1hility committed Dec 6, 2023
1 parent 605a29a commit 98df5b3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/machine/wsl/machine.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 98df5b3

Please sign in to comment.