73e442
# generic + compressed please
73e442
hostonly="no"
73e442
compress="xz"
73e442
73e442
# VMs can't update microcode anyway
73e442
early_microcode="no"
73e442
73e442
# modules: basics
73e442
dracutmodules+=" base systemd systemd-initrd dracut-systemd dbus dbus-broker usrmount shutdown "
73e442
73e442
# modules: storage support
73e442
dracutmodules+=" dm lvm rootfs-block fs-lib "
73e442
73e442
# modules: tpm and crypto
8bd6ae
dracutmodules+=" crypt crypt-loop tpm2-tss systemd-pcrphase "
73e442
a10bed
# dracut >= 102 separated systemd-cryptsetup into its own module
a10bed
CSMODULE=`dracut --list-modules --no-kernel | grep '^systemd-cryptsetup$'`
a10bed
dracutmodules+=" $CSMODULE "
a10bed
73e442
# modules: support root on virtiofs
73e442
dracutmodules+=" virtiofs "
73e442
73e442
# modules: use sysext images (see 'man systemd-sysext')
73e442
dracutmodules+=" systemd-sysext "
73e442
a10bed
# modules: root disk integrity protection
a10bed
dracutmodules+=" systemd-veritysetup "
a10bed
73e442
# drivers: virtual buses, pci
73e442
drivers+=" virtio-pci virtio-mmio "      # qemu-kvm
73e442
drivers+=" hv-vmbus pci-hyperv "         # hyperv
73e442
drivers+=" xen-pcifront "                # xen
73e442
73e442
# drivers: storage
73e442
drivers+=" ahci nvme sd_mod sr_mod "     # generic
73e442
drivers+=" virtio-blk virtio-scsi "      # qemu-kvm
73e442
drivers+=" hv-storvsc "                  # hyperv
73e442
drivers+=" xen-blkfront "                # xen
73e442
73e442
# root encryption
73e442
drivers+=" dm_crypt "
73e442
a10bed
# root disk integrity protection
a10bed
drivers+=" dm_verity overlay "
a10bed
73e442
# filesystems
73e442
filesystems+=" vfat ext4 xfs overlay "