Skip to content

Commit

Permalink
add alma8 script
Browse files Browse the repository at this point in the history
  • Loading branch information
outscale-gjt committed Nov 22, 2024
1 parent 2a2f832 commit f97a3b7
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions scripts/base/alma8.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
#!/bin/bash
set -e

#### BASIC IMAGE
yum install -y wget qemu-img libgcrypt
cd /tmp
#wget -q https://repo.almalinux.org/almalinux/9.4/cloud/x86_64/images/AlmaLinux-9-GenericCloud-latest.x86_64.qcow2
wget -q https://raw.repo.almalinux.org/almalinux/8.10/cloud/x86_64/images/AlmaLinux-8-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 --disablerepo=\* --enablerepo=elrepo-kernel --enablerepo=elrepo-testing -y install kernel-ml
grub2-set-default 0
reboot

0 comments on commit f97a3b7

Please sign in to comment.