From 7e01fa5f06ba53c7d19d25a3ab83ab18ab598328 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Timoth=C3=A9e=20Floure?= Date: Mon, 9 Dec 2019 12:08:11 +0100 Subject: [PATCH] Fedora image: add virtio-blk driver to initramfs --- fedora-build-opennebula-image.sh | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/fedora-build-opennebula-image.sh b/fedora-build-opennebula-image.sh index 6222efc..ac26d7d 100755 --- a/fedora-build-opennebula-image.sh +++ b/fedora-build-opennebula-image.sh @@ -137,6 +137,14 @@ run_root systemctl enable systemd-timesyncd.service # Note: linux-firmware is not required our environment and takes almost 200M # uncompressed but is a direct dependency of kernel-core... run_root dnf -y install kernel grub2 + +# Add support for virtio block devices at boot time. +cat > /mnt/etc/dracut.conf.d/virtio-blk.conf <