fix dracut entries for OCP
This commit is contained in:
parent
da5f8229b2
commit
03efd0e534
@ -152,13 +152,13 @@ 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
|
||||||
|
|
||||||
|
@ -116,13 +116,12 @@ 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
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user