--- CLOUD-INIT (JAMMY AND NOBLE ONLY) ---------------------------------- Asserts that existing behaviour won't change. To avoid a long repetition, refer to ISO QA "WSL_cloud-init" test case: https://iso.qa.ubuntu.com/qatracker/milestones/450/builds/336438/testcases/1835/results
1. Download an image from releases.ubuntu.com/<RELEASE> 2. Make sure you don't have any custom cloud-config data at: %USERPROFILE%\.cloud-init\ and %USERPROFILE%\.ubuntupro\.cloud-init\ . 3. Open PowerShell and import that image as a new instance wsl --import Ubuntu3 ~\Downloads\Ubuntu3\ <PATH-TO-THE-DOWNLOADED-IMAGE> (the wsl-setup script won't run when the instance is '--import'ed) 4. Log into the new instance: `wsl.exe -d Ubuntu3` (you'll be root) 5. Enable proposed, and install wsl-setup with ``apt update && apt install wsl-setup -t <RELEASE>-proposed` 6. Make sure cloud-init is not running: `cloud-init status --wait` 7. Clean-up the cloud-init data: `cloud-init clean --logs` 8. Exit the instance and then shutdown WSL: `wsl.exe --shutdown` 9. Follow the ISO QA "WSL_cloud-init" test case using the instance Ubuntu3, but make sure to run it's new first boot with `wsl -d Ubuntu3 -- /usr/lib/wsl/wsl-setup` (what emulates WSL's first boot) followed by `wsl --shutdown`. No deviation from the test assertions should happen. --- Re-executed those steps a few times on the following setup: Windows 11 25H2 Pro Insider Preview Version 10.0.26200.5710 (Virtual machine) WSL: 2.6.0.0 Kernel: 6.6.87.2-1 WSLg: 1.0.66 Test pass OK -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2118617 Title: [SRU] Ubuntu on WSL install fails on non-ASCII usernames To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/wsl-setup/+bug/2118617/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
