Skip to content

Commit

Permalink
Added Alma9.3 url and case for Jenkinsfile
Browse files Browse the repository at this point in the history
  • Loading branch information
ElstonLewis committed Feb 15, 2024
1 parent 72443c7 commit 20e1065
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
5 changes: 5 additions & 0 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
4 changes: 2 additions & 2 deletions scripts/base/alma9.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 20e1065

Please sign in to comment.