Use oci-utils from SIG/Cloud for now

This commit is contained in:
Neil Hanlon 2022-12-09 23:05:51 -05:00
parent 3b7d018deb
commit 44458ba332
Signed by: neil
GPG Key ID: 705BC21EC3C70F34
3 changed files with 5 additions and 1 deletions

View File

@ -15,6 +15,7 @@ text
network --bootproto=dhcp --device=link --activate network --bootproto=dhcp --device=link --activate
# Use network installation # Use network installation
url --url="https://download.rockylinux.org/stg/rocky/9/BaseOS/$basearch/os/" url --url="https://download.rockylinux.org/stg/rocky/9/BaseOS/$basearch/os/"
repo --name "sig-cloud-common" --baseurl=http://dl.rockylinux.org/stg/sig/9/cloud/$basearch/cloud-common/ --includepkgs="oci-utils"
# System authorization information # System authorization information
auth --enableshadow --passalgo=sha512 auth --enableshadow --passalgo=sha512
# Firewall configuration # Firewall configuration
@ -130,7 +131,6 @@ timeout 300;
retry 60; retry 60;
EOF EOF
# OCI - Import repo GPG key # OCI - Import repo GPG key
cat <<EOF > /tmp/key cat <<EOF > /tmp/key
-----BEGIN PGP PUBLIC KEY BLOCK----- -----BEGIN PGP PUBLIC KEY BLOCK-----
@ -386,6 +386,7 @@ python3-jsonschema
qemu-guest-agent qemu-guest-agent
rng-tools rng-tools
rocky-release rocky-release
rocky-release-cloud
rsync rsync
tar tar
yum yum

View File

@ -56,5 +56,6 @@ cockpit-system
iscsi-initiator-utils iscsi-initiator-utils
rocky-release rocky-release
rocky-release-cloud
rng-tools rng-tools
%end %end

View File

@ -2,6 +2,8 @@
%include rocky-cloud-parts-lvm.ks %include rocky-cloud-parts-lvm.ks
%include rocky-cloud-ocp-packages.ks %include rocky-cloud-ocp-packages.ks
repo --name "sig-cloud-common" --baseurl=http://dl.rockylinux.org/stg/sig/9/cloud/$basearch/cloud-common/ --includepkgs="oci-utils"
bootloader --append="console=ttyS0,115200n8 console=tty0 no_timer_check crashkernel=auto net.ifnames=0 LANG=en_US.UTF-8 transparent_hugepage=never rd.luks=0 rd.md=0 rd.dm=0 rd.lvm.vg=rocky rd.lvm.lv=rocky/root rd.net.timeout.dhcp=10" --location=mbr --timeout=1 --boot-drive=vda bootloader --append="console=ttyS0,115200n8 console=tty0 no_timer_check crashkernel=auto net.ifnames=0 LANG=en_US.UTF-8 transparent_hugepage=never rd.luks=0 rd.md=0 rd.dm=0 rd.lvm.vg=rocky rd.lvm.lv=rocky/root rd.net.timeout.dhcp=10" --location=mbr --timeout=1 --boot-drive=vda
%post --erroronfail %post --erroronfail