forked from sig_core/kickstarts
fix dracut entries for OCP
This commit is contained in:
parent
da5f8229b2
commit
03efd0e534
@ -152,18 +152,18 @@ mkdir -p /var/cache/yum
|
|||||||
# remove these for debugging
|
# remove these for debugging
|
||||||
sed -i -e 's/ rhgb quiet//' /boot/grub/grub.conf
|
sed -i -e 's/ rhgb quiet//' /boot/grub/grub.conf
|
||||||
|
|
||||||
# enable resizing on copied AMIs
|
|
||||||
echo 'install_items+=" sgdisk "' > /etc/dracut.conf.d/sgdisk.conf
|
|
||||||
|
|
||||||
|
|
||||||
# OCI - Start ocid on boot
|
# OCI - Start ocid on boot
|
||||||
systemctl enable ocid.service
|
systemctl enable ocid.service
|
||||||
|
|
||||||
|
# enable resizing on copied AMIs
|
||||||
|
echo 'install_items+=" sgdisk "' > /etc/dracut.conf.d/sgdisk.conf
|
||||||
|
|
||||||
# OCI - Need iscsi as a dracut module
|
# 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
|
# 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
|
# OCI - YOLO
|
||||||
mkdir -p /usr/lib/dracut/modules.d/95oci
|
mkdir -p /usr/lib/dracut/modules.d/95oci
|
||||||
|
@ -116,18 +116,17 @@ mkdir -p /var/cache/yum
|
|||||||
# remove these for debugging
|
# remove these for debugging
|
||||||
sed -i -e 's/ rhgb quiet//' /boot/grub/grub.conf
|
sed -i -e 's/ rhgb quiet//' /boot/grub/grub.conf
|
||||||
|
|
||||||
# enable resizing on copied AMIs
|
|
||||||
echo 'install_items+=" sgdisk "' > /etc/dracut.conf.d/sgdisk.conf
|
|
||||||
|
|
||||||
|
|
||||||
# OCI - Start ocid on boot
|
# OCI - Start ocid on boot
|
||||||
systemctl enable ocid.service
|
systemctl enable ocid.service
|
||||||
|
|
||||||
|
# enable resizing on copied AMIs
|
||||||
|
echo 'install_items+=" sgdisk "' > /etc/dracut.conf.d/sgdisk.conf
|
||||||
|
|
||||||
# OCI - Need iscsi as a dracut module
|
# 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
|
# 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
|
# OCI - YOLO
|
||||||
mkdir -p /usr/lib/dracut/modules.d/95oci
|
mkdir -p /usr/lib/dracut/modules.d/95oci
|
||||||
|
Loading…
Reference in New Issue
Block a user