It creates a default user. If I install wsl with wsl --install ubuntu-24.04 then I'm prompted to create a default user too. This is unnecessary since the user is created by cloud-init.
What was expected?
Do not prompt to add a default user
Steps to reproduce
run wsl --install ubuntu-24.04 with the cloud-init configuration above in .cloud-init/ubuntu-24.04.user-data
cmd /c ver
Microsoft Windows [Version 10.0.22631.3527]
wsl --status
Default Distribution: Ubuntu-20.04 Default Version: 2
Did the problem occur during installation?
What happened?
I've the following cloud-init configuration file
It creates a default user. If I install wsl with
wsl --install ubuntu-24.04
then I'm prompted to create a default user too. This is unnecessary since the user is created by cloud-init.What was expected?
Do not prompt to add a default user
Steps to reproduce
run
wsl --install ubuntu-24.04
with the cloud-init configuration above in.cloud-init/ubuntu-24.04.user-data
Additional information
No response