From 8303b8ab119f22d56272945b5f0cbd04b049c529 Mon Sep 17 00:00:00 2001 From: Neil Hanlon Date: Tue, 24 Jan 2023 18:23:19 -0500 Subject: [PATCH] make sure to start ocid --- Rocky-9-OCP.ks | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Rocky-9-OCP.ks b/Rocky-9-OCP.ks index deeb99d..77aed8d 100644 --- a/Rocky-9-OCP.ks +++ b/Rocky-9-OCP.ks @@ -323,6 +323,9 @@ base64 -d <<<"$OCICLOUDCFG" >> /etc/cloud/cloud.cfg.d/99_oci.cfg # Remove system.devices because Oracle does things. rm -fv /etc/lvm/devices/system.devices +# Start OCId +systemctl enable ocid + # Rerun dracut for the installed kernel (not the running kernel): KERNEL_VERSION=$(rpm -q kernel --qf '%%{V}-%%{R}.%%{arch}\n') dracut -f /boot/initramfs-$KERNEL_VERSION.img $KERNEL_VERSION