Skip to content

Commit 1dd8a46

Browse files
committed
redhat/dracut-virt.conf: add systemd-veritysetup module
JIRA: https://issues.redhat.com/browse/RHEL-45168 Upstream Status: RHEL-Only This driver, together with a specific kernel cmdline and separate partition containing the verification hash produced by veritysetup, enables root disk integrity protection for UKIs. Also add the overlay driver to allow systemd.volatile=overlay to mount an overlayfs on top of /. This will make the root disk again writable, but all changes will be ephemeral. Signed-off-by: Emanuele Giuseppe Esposito <eesposit@redhat.com>
1 parent 14c6ab6 commit 1dd8a46

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

redhat/dracut-virt.conf

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,9 @@ dracutmodules+=" crypt crypt-loop tpm2-tss "
1717
# WALinuxagent-cvm with CVM specific udev rules
1818
dracutmodules+=" walinuxagentcvm "
1919

20+
# modules: root disk integrity protection
21+
dracutmodules+=" systemd-veritysetup "
22+
2023
# drivers: virtual buses, pci
2124
drivers+=" virtio-pci virtio-mmio " # qemu-kvm
2225
drivers+=" hv-vmbus pci-hyperv " # hyperv
@@ -31,6 +34,9 @@ drivers+=" xen-blkfront " # xen
3134
# root encryption
3235
drivers+=" dm_crypt "
3336

37+
# root disk integrity protection
38+
drivers+=" dm_verity overlay "
39+
3440
# filesystems
3541
filesystems+=" vfat ext4 xfs overlay "
3642

0 commit comments

Comments
 (0)