livecd-rootfs/live-build/ubuntu-wsl/hooks/00-enable-systemd.chroot
Didier Roche cd5f41550a
Replace some functionalities done by the windows launcher
The windows launcher is going to be retired.
We need to move those functionalities to rootfs build side: (LP: #2080223)
- enable systemd by default
- ship up to 3 rootfs tarballs, differentiating by the upgrade policy
2024-09-10 15:46:23 +02:00

11 lines
136 B
Bash
Executable File

#!/bin/bash -eu
# vi: ts=4 expandtab
#
# Enable systemd by default on our WSL image
#
cat <<EOF >/etc/wsl.conf
[boot]
systemd=true
EOF