Enable systemd as part of image creation

Microsoft offically support systemd now and our Pro service relies on
it. This option is enabled by default via our launcher (Windows-side) on
first run for quite a while.
Remve this file creation from it, don’t ship it in a package as the
file may be altered by the user to add additional options and ship it as
part of the rootfs.

Co-authored-by: Jean-Baptiste Lallement <jean-baptiste@ubuntu.com>
ubuntu-core-desktop-noble
Didier Roche 11 months ago
parent 602463592a
commit e5d6d07bad
No known key found for this signature in database
GPG Key ID: 98B24A9CE4AC208E

@ -0,0 +1,10 @@
#!/bin/bash -eu
# vi: ts=4 expandtab
#
# Enable systemd by default on our WSL image
#
cat <<EOF >/etc/wsl.conf
[boot]
systemd=true
EOF
Loading…
Cancel
Save