livecd-rootfs/live-build/ubuntu-wsl/hooks/00-enable-systemd.chroot
Carlos Nihelton beb2bf1565
Implement WSL hooks for Focal
The same hooks used to build Jammy and later
2025-07-03 10:56:05 -03: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