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 <jason.greene@redhat.com>
This commit is contained in:
Jason T. Greene 2023-12-06 14:46:12 -06:00
parent 605a29a714
commit 98df5b3978
1 changed files with 1 additions and 1 deletions

View File

@ -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 {