Go to file
Simon de Vlieger 5afaf63d99
oobe: exit early for cloud-init
WSL supports `cloud-init` for provisioning. In some cases (RHEL) this is
enabled. If `wsl-setup` is used on RHEL then there's a TOCTOU between
the check for "no user exists" and the "create user" part as
`cloud-init` creates the user during the prompt.

Let's exit early and assume everything is handled by `cloud-init` *if*
it is enabled.

Signed-off-by: Simon de Vlieger <supakeen@redhat.com>
2025-05-28 12:01:25 +02: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: exit early for cloud-init 2025-05-28 12:01:25 +02: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 Change /usr/lib/wsl-distribution.conf to a ghost file 2025-05-19 08:37:51 -07:00
wsl.conf Initial import (rhbz #2342289) 2025-01-27 13:42:03 -05:00

wsl-setup

The wsl-setup package