TEST RESULTS: 
The image tested successfully for both building (1) and new installations (1.A).

------

DETAILS:

Building an image in Launchpad with focal-proposed enabled, results in 
livecd-rootfs version
2.664.55 being picked for the image build.

build logs: 
https://launchpadlibrarian.net/844221874/buildlog_ubuntu_focal_amd64_wsl_BUILDING.txt.gz
resulting image: 
https://launchpad.net/~ubuntu-wsl-dev/+livefs/ubuntu/focal/wsl/+build/899929/+files/livecd.ubuntu-wsl.wsl
image manifest: 
https://launchpad.net/~ubuntu-wsl-dev/+livefs/ubuntu/focal/wsl/+build/899929/+files/livecd.ubuntu-wsl.manifest

As expected, it contains the .wsl extension and its contents match the
new tar-based format.

With cloud-config data shown below:

```yaml
#cloud-config
locale: pt_BR
users:
- name: jdoe
  gecos: John Doe
  groups: [adm,dialout,cdrom,floppy,sudo,audio,dip,video,plugdev,netdev]
  sudo: ALL=(ALL) NOPASSWD:ALL
  shell: /bin/bash

write_files:
- path: /etc/wsl.conf
  append: true
  content: |
    [user]
    default=jdoe

packages: [ginac-tools, octave]
```

double-clicking the image I got a working Focal instance with the user
and packages as described

```
Instalando: C:\Users\User\Downloads\focal.ubuntu-wsl.wsl
Distribuição instalada com êxito. Ele pode ser iniciado por meio de 'wsl.exe -d 
Ubuntu-20.04'
Iniciando Ubuntu-20.04...
Provisioning the new WSL instance Ubuntu-20.04
This might take a while...
To run a command as administrator (user "root"), use "sudo <command>".
See "man sudo_root" for details.

jdoe@DESKTOP-551PQ9O:/mnt/c/Users/User/Downloads$ cat /etc/os-release
NAME="Ubuntu"
VERSION="20.04.6 LTS (Focal Fossa)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 20.04.6 LTS"
VERSION_ID="20.04"
HOME_URL="https://www.ubuntu.com/";
SUPPORT_URL="https://help.ubuntu.com/";
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/";
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy";
VERSION_CODENAME=focal
UBUNTU_CODENAME=focal
jdoe@DESKTOP-551PQ9O:/mnt/c/Users/User/Downloads$ ginsh
ginsh - GiNaC Interactive Shell (GiNaC V1.7.8)
  __,  _______  Copyright (C) 1999-2019 Johannes Gutenberg University Mainz,
 (__) *       | Germany.  This is free software with ABSOLUTELY NO WARRANTY.
  ._) i N a C | You are welcome to redistribute it under certain conditions.
<-------------' For details type `warranty;'.

Type ?? for a list of help topics.
> jdoe@DESKTOP-551PQ9O:/mnt/c/Users/User/Downloads$ octave
GNU Octave, version 5.2.0
Copyright (C) 2020 John W. Eaton and others.
This is free software; see the source code for copying conditions.
There is ABSOLUTELY NO WARRANTY; not even for MERCHANTABILITY or
FITNESS FOR A PARTICULAR PURPOSE.  For details, type 'warranty'.

Octave was configured for "x86_64-pc-linux-gnu".

Additional information about Octave is available at
https://www.octave.org.

Please contribute if you find this software useful.
For more information, visit https://www.octave.org/get-involved.html

Read https://www.octave.org/bugs.html to learn how to submit bug reports.
For information about changes from previous versions, type 'news'.

octave:1>
jdoe@DESKTOP-551PQ9O:/mnt/c/Users/User/Downloads$
``` 

Shutting down WSL and starting the Focal instance a few times resulted in 0 
failed units in 100% of
the times, as expected.


** Tags removed: verification-needed verification-needed-focal
** Tags added: verification-done verification-done-focal

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2115536

Title:
  [SRU] Allow building WSL images of Focal in the new format

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/livecd-rootfs/+bug/2115536/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to