aboutsummaryrefslogtreecommitdiff
path: root/SOURCES/dracut-virt.conf
diff options
context:
space:
mode:
Diffstat (limited to 'SOURCES/dracut-virt.conf')
-rw-r--r--SOURCES/dracut-virt.conf10
1 files changed, 10 insertions, 0 deletions
diff --git a/SOURCES/dracut-virt.conf b/SOURCES/dracut-virt.conf
index da1c17b..8b23a4e 100644
--- a/SOURCES/dracut-virt.conf
+++ b/SOURCES/dracut-virt.conf
@@ -14,12 +14,19 @@ dracutmodules+=" dm lvm rootfs-block fs-lib "
# modules: tpm and crypto
dracutmodules+=" crypt crypt-loop tpm2-tss systemd-pcrphase "
+# dracut >= 102 separated systemd-cryptsetup into its own module
+CSMODULE=`dracut --list-modules --no-kernel | grep '^systemd-cryptsetup$'`
+dracutmodules+=" $CSMODULE "
+
# modules: support root on virtiofs
dracutmodules+=" virtiofs "
# modules: use sysext images (see 'man systemd-sysext')
dracutmodules+=" systemd-sysext "
+# modules: root disk integrity protection
+dracutmodules+=" systemd-veritysetup "
+
# drivers: virtual buses, pci
drivers+=" virtio-pci virtio-mmio " # qemu-kvm
drivers+=" hv-vmbus pci-hyperv " # hyperv
@@ -34,5 +41,8 @@ drivers+=" xen-blkfront " # xen
# root encryption
drivers+=" dm_crypt "
+# root disk integrity protection
+drivers+=" dm_verity overlay "
+
# filesystems
filesystems+=" vfat ext4 xfs overlay "