fix dracut entries for OCP

This commit is contained in:
Neil Hanlon 2022-11-30 17:46:24 -05:00
parent da5f8229b2
commit 03efd0e534
Signed by untrusted user: neil
GPG Key ID: 705BC21EC3C70F34
2 changed files with 10 additions and 11 deletions

View File

@ -152,13 +152,13 @@ mkdir -p /var/cache/yum
# remove these for debugging
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
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
echo 'add_dracutmodules+=" iscsi "' > /etc/dracut.conf.d/iscsi.conf

View File

@ -116,13 +116,12 @@ mkdir -p /var/cache/yum
# remove these for debugging
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
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
echo 'add_dracutmodules+=" iscsi "' > /etc/dracut.conf.d/iscsi.conf