install oci-utils from oracle repository

This commit is contained in:
Neil Hanlon 2022-10-11 16:11:08 -04:00
parent 2aa9a5f4e7
commit c2843203d0
Signed by: neil
GPG Key ID: 705BC21EC3C70F34

View File

@ -1,6 +1,7 @@
text text
repo --name="BaseOS" --baseurl=http://dl.rockylinux.org/pub/rocky/9/BaseOS/$basearch/os/ repo --name="BaseOS" --baseurl=http://dl.rockylinux.org/pub/rocky/9/BaseOS/$basearch/os/
repo --name="AppStream" --baseurl=http://dl.rockylinux.org/pub/rocky/9/AppStream/$basearch/os/ repo --name="AppStream" --baseurl=http://dl.rockylinux.org/pub/rocky/9/AppStream/$basearch/os/
repo --name="oraclelinux-addons" --baseurl=http://yum.oracle.com/repo/OracleLinux/OL9/addons/$basearch/ --install --includepkgs="oci-utils"
url --url http://dl.rockylinux.org/pub/rocky/9/BaseOS/$basearch/os/ url --url http://dl.rockylinux.org/pub/rocky/9/BaseOS/$basearch/os/
@ -136,6 +137,10 @@ sed -i -e 's/ rhgb quiet//' /boot/grub/grub.conf
# enable resizing on copied AMIs # enable resizing on copied AMIs
echo 'install_items+=" sgdisk "' > /etc/dracut.conf.d/sgdisk.conf 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 # 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
@ -239,25 +244,37 @@ true
%packages %packages
@core @core
chrony chrony
dnf
yum
cloud-init cloud-init
cloud-utils-growpart cloud-utils-growpart
NetworkManager cockpit-system
cockpit-ws
dhcp-client
dnf
dnf-utils
dracut-config-generic dracut-config-generic
firewalld firewalld
gdisk gdisk
grub2 grub2
iscsi-initiator-utils
kernel kernel
NetworkManager
nfs-utils nfs-utils
oci-utils
python3-jsonschema
qemu-guest-agent
rng-tools
rocky-release
rsync rsync
tar tar
dnf-utils yum
yum-utils yum-utils
-aic94xx-firmware -aic94xx-firmware
-alsa-firmware -alsa-firmware
-alsa-lib -alsa-lib
-alsa-tools-firmware -alsa-tools-firmware
-biosdevname
-iprutils
-ivtv-firmware -ivtv-firmware
-iwl100-firmware -iwl100-firmware
-iwl1000-firmware -iwl1000-firmware
@ -275,25 +292,11 @@ yum-utils
-iwl6000g2b-firmware -iwl6000g2b-firmware
-iwl6050-firmware -iwl6050-firmware
-iwl7260-firmware -iwl7260-firmware
-langpacks-*
-langpacks-en
-libertas-sd8686-firmware -libertas-sd8686-firmware
-libertas-sd8787-firmware -libertas-sd8787-firmware
-libertas-usb8388-firmware -libertas-usb8388-firmware
-biosdevname
-iprutils
-plymouth -plymouth
python3-jsonschema
qemu-guest-agent
dhcp-client
cockpit-ws
cockpit-system
-langpacks-*
-langpacks-en
iscsi-initiator-utils
rocky-release
rng-tools
%end %end