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