fix dracut entries for OCP

This commit is contained in:
Neil Hanlon 2022-11-30 17:45:00 -05:00
parent 282a85000e
commit 2159393336
Signed by untrusted user: neil
GPG key ID: 705BC21EC3C70F34

View file

@ -155,10 +155,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