From 625f058ba40984986f49d8385ee185544e643d67 Mon Sep 17 00:00:00 2001 From: Neil Hanlon Date: Tue, 11 Oct 2022 16:13:10 -0400 Subject: [PATCH] install oci-utils from oracle repository --- Rocky-8-OCP.ks | 43 +++++++++++++++++++++++-------------------- 1 file changed, 23 insertions(+), 20 deletions(-) diff --git a/Rocky-8-OCP.ks b/Rocky-8-OCP.ks index b42b039..5ea40fb 100644 --- a/Rocky-8-OCP.ks +++ b/Rocky-8-OCP.ks @@ -1,6 +1,7 @@ text repo --name="BaseOS" --baseurl=http://dl.rockylinux.org/pub/rocky/8/BaseOS/$basearch/os/ repo --name="AppStream" --baseurl=http://dl.rockylinux.org/pub/rocky/8/AppStream/$basearch/os/ +repo --name="oraclelinux-addons" --baseurl=http://yum.oracle.com/repo/OracleLinux/OL8/addons/$basearch/ --install --includepkgs="oci-utils" url --url http://dl.rockylinux.org/pub/rocky/8/BaseOS/$basearch/os/ @@ -136,6 +137,10 @@ 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 + # OCI - Need iscsi as a dracut module echo 'add_dracutmodules+="iscsi"' > /etc/dracut.conf.d/iscsi.conf @@ -239,25 +244,37 @@ true %packages @core chrony -dnf -yum cloud-init cloud-utils-growpart -NetworkManager +cockpit-system +cockpit-ws +dhcp-client +dnf +dnf-utils dracut-config-generic firewalld gdisk grub2 +iscsi-initiator-utils kernel +NetworkManager nfs-utils +oci-utils +python3-jsonschema +qemu-guest-agent +rng-tools +rocky-release rsync tar -dnf-utils +yum yum-utils + -aic94xx-firmware -alsa-firmware -alsa-lib -alsa-tools-firmware +-biosdevname +-iprutils -ivtv-firmware -iwl100-firmware -iwl1000-firmware @@ -275,24 +292,10 @@ yum-utils -iwl6000g2b-firmware -iwl6050-firmware -iwl7260-firmware +-langpacks-* +-langpacks-en -libertas-sd8686-firmware -libertas-sd8787-firmware -libertas-usb8388-firmware --biosdevname --iprutils -plymouth - -python3-jsonschema -qemu-guest-agent -dhcp-client -cockpit-ws -cockpit-system --langpacks-* --langpacks-en - - -iscsi-initiator-utils - -rocky-release -rng-tools %end