since dracut-109 [*], the systemdsystemconfdir exists only in hostonly mode, which leads to unbootable system; as documented here:
https://src.fedoraproject.org/rpms/dracut/pull-request/90
[*] https://github.com/dracut-ng/dracut-ng/commit/
2991f74a
inst_simple "/etc/ostree/initramfs-root-binding.key"
fi
inst_simple "${systemdsystemunitdir}/ostree-prepare-root.service"
- mkdir -p "${initdir}${systemdsystemconfdir}/initrd-root-fs.target.wants"
+ mkdir -p "${initdir}${systemdsystemunitdir}/initrd-root-fs.target.wants"
ln_r "${systemdsystemunitdir}/ostree-prepare-root.service" \
- "${systemdsystemconfdir}/initrd-root-fs.target.wants/ostree-prepare-root.service"
+ "${systemdsystemunitdir}/initrd-root-fs.target.wants/ostree-prepare-root.service"
}