dracut-virt.conf 1.0 KB

1234567891011121314151617181920212223242526272829303132333435
  1. # generic + compressed please
  2. hostonly="no"
  3. compress="xz"
  4. # VMs can't update microcode anyway
  5. early_microcode="no"
  6. # modules: basics
  7. dracutmodules+=" base systemd systemd-initrd dracut-systemd dbus dbus-broker usrmount shutdown "
  8. # modules: storage support
  9. dracutmodules+=" dm lvm rootfs-block fs-lib "
  10. # modules: tpm and crypto
  11. dracutmodules+=" crypt crypt-loop tpm2-tss "
  12. # drivers: virtual buses, pci
  13. drivers+=" virtio-pci virtio-mmio " # qemu-kvm
  14. drivers+=" hv-vmbus pci-hyperv " # hyperv
  15. drivers+=" xen-pcifront " # xen
  16. # drivers: storage
  17. drivers+=" ahci nvme sd_mod sr_mod " # generic
  18. drivers+=" virtio-blk virtio-scsi " # qemu-kvm
  19. drivers+=" hv-storvsc " # hyperv
  20. drivers+=" xen-blkfront " # xen
  21. # root encryption
  22. drivers+=" dm_crypt "
  23. # filesystems
  24. filesystems+=" vfat ext4 xfs overlay "
  25. # systemd-pcrphase
  26. install_items+=" /lib/systemd/system/systemd-pcrphase-initrd.service /usr/lib/systemd/systemd-pcrphase /usr/lib/systemd/system/initrd.target.wants/systemd-pcrphase-initrd.service "