diff --git a/Jenkinsfile b/Jenkinsfile index 3d7ec72..279bfa2 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -6,6 +6,11 @@ def script_base = "" def iso_url = "" def product_codes = "" switch(OS) { + case "Alma Linux 9": + base_name = "AlmaLinux-9" + script_base = "alma9" + break + case "Rocky Linux 8": base_name = "RockyLinux-8" script_base = "rocky8" diff --git a/scripts/base/alma9.sh b/scripts/base/alma9.sh index ef36761..79e264a 100644 --- a/scripts/base/alma9.sh +++ b/scripts/base/alma9.sh @@ -4,12 +4,12 @@ set -e #### BASIC IMAGE yum install -y wget qemu-img libgcrypt cd /tmp -wget -q https://repo.almalinux.org/almalinux/9/cloud/x86_64/images/AlmaLinux-9-GenericCloud-latest.x86_64.qcow2 +wget -q https://repo.almalinux.org/almalinux/9.3/cloud/x86_64/images/AlmaLinux-9-GenericCloud-latest.x86_64.qcow2 qemu-img convert ./*.qcow2 -O raw /dev/sda #### CUSTOM KERNEL WITH RECENT XFS SUPPORT rpm --import https://www.elrepo.org/RPM-GPG-KEY-elrepo.org -yum install -y https://www.elrepo.org/elrepo-release-8.el8.elrepo.noarch.rpm +yum install -y https://www.elrepo.org/elrepo-release-9.el9.elrepo.noarch.rpm yum --disablerepo=\* --enablerepo=elrepo-kernel --enablerepo=elrepo-testing -y install kernel-ml grub2-set-default 0 reboot \ No newline at end of file