fix dracut entries for OCP

This commit is contained in:
Neil Hanlon 2022-11-30 17:47:00 -05:00
parent 2159393336
commit f4ef6af8c9
Signed by untrusted user: neil
GPG Key ID: 705BC21EC3C70F34

View File

@ -119,10 +119,10 @@ sed -i -e 's/ rhgb quiet//' /boot/grub/grub.conf
echo 'install_items+=" sgdisk "' > /etc/dracut.conf.d/sgdisk.conf
# OCI - Need iscsi as a dracut module
echo 'add_dracutmodules+="iscsi"' > /etc/dracut.conf.d/iscsi.conf
echo 'add_dracutmodules+=" iscsi "' > /etc/dracut.conf.d/iscsi.conf
# OCI - Virtio drivers
echo 'add_drivers+="virtio virtio_blk virtio_net virtio_pci virtio_ring virtio_scsi virtio_console"' > /etc/dracut.conf.d/virtio.conf
echo 'add_drivers+=" virtio virtio_blk virtio_net virtio_pci virtio_ring virtio_scsi virtio_console "' > /etc/dracut.conf.d/virtio.conf
# OCI - YOLO
mkdir -p /usr/lib/dracut/modules.d/95oci