Go to file
Jeremy Cline ef26ebb240
oobe: don't append the user section to /etc/wsl.conf
Doing this apparently[0] breaks using `wsl --manage <distro>
--set-default-user` (in my test, wsl says it completed successfully, but
actually doesn't do anything at all). Since we set the default UID in
wsl-distribution.conf, the default default user will be UID 1000, which
we expect to create anyway.

While it's nice to support old versions of WSL, I think it's also
reasonable to require users to update to ensure things work. For
example, most things in Fedora expect cgroups v2, but WSL only removed
cgroups v1 in 2.5.

If users report an issue and note they're not using the latest WSL
stable release I'm just going to tell them to reproduce it on the
latest, and if they can't I'm not going to spend any time trying to make
it work.

[0] https://github.com/microsoft/WSL/pull/13094#issuecomment-2971990351

Signed-off-by: Jeremy Cline <jeremycline@linux.microsoft.com>
2025-07-07 09:44:57 -04:00
.gitignore Initial import (rhbz #2342289) 2025-01-27 13:42:03 -05:00
firstboot-override.conf Add tmpfiles configuration for x11, Wayland, and PulseAudio support 2025-01-31 10:24:40 -05:00
LICENSE Initial import (rhbz #2342289) 2025-01-27 13:42:03 -05:00
README.md Added the README 2025-01-27 16:55:19 +00:00
sources Initial import (rhbz #2342289) 2025-01-27 13:42:03 -05:00
wsl-distribution.conf Make wsl-setup a script 2025-05-19 08:37:42 -07:00
wsl-oobe.sh oobe: don't append the user section to /etc/wsl.conf 2025-07-07 09:44:57 -04:00
wsl-setup Make wsl-setup a script 2025-05-19 08:37:42 -07:00
wsl-setup-tmpfiles.conf Add tmpfiles configuration for x11, Wayland, and PulseAudio support 2025-01-31 10:24:40 -05:00
wsl-setup-user-tmpfiles.conf Add tmpfiles configuration for x11, Wayland, and PulseAudio support 2025-01-31 10:24:40 -05:00
wsl-setup.spec Add Requires for utilities used in the OOBE script 2025-07-01 10:48:13 -04:00
wsl.conf Initial import (rhbz #2342289) 2025-01-27 13:42:03 -05:00

wsl-setup

The wsl-setup package