diff --git a/image/mkosi.skeleton/etc/dracut.conf.d/90-networkd.conf b/image/mkosi.skeleton/etc/dracut.conf.d/90-networkd.conf index a8bf6a8b4..6e8da82e7 100644 --- a/image/mkosi.skeleton/etc/dracut.conf.d/90-networkd.conf +++ b/image/mkosi.skeleton/etc/dracut.conf.d/90-networkd.conf @@ -1,4 +1,5 @@ # enable networking in initrd (initramfs) with dracut and systemd-networkd install_items+=" /usr/lib/systemd/network/20-wired.network " install_items+=" /usr/lib/systemd/network/21-azure.network " -add_dracutmodules+=" systemd-networkd " +# see https://github.com/dracutdevs/dracut/tree/master/modules.d for a list of modules +add_dracutmodules+=" systemd-networkd systemd-resolved " diff --git a/image/mkosi.skeleton/usr/lib/dracut/modules.d/39constellation-mount/module-setup.sh b/image/mkosi.skeleton/usr/lib/dracut/modules.d/39constellation-mount/module-setup.sh index 9b51e81cf..59cab85db 100644 --- a/image/mkosi.skeleton/usr/lib/dracut/modules.d/39constellation-mount/module-setup.sh +++ b/image/mkosi.skeleton/usr/lib/dracut/modules.d/39constellation-mount/module-setup.sh @@ -4,7 +4,8 @@ # SPDX-License-Identifier: AGPL-3.0-only depends() { - echo systemd + # expands to: systemd systemd-hostnamed systemd-networkd systemd-resolved systemd-timedated systemd-timesyncd + echo systemd-network-management } install_and_enable_unit() {