-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
2a2f832
commit f97a3b7
Showing
1 changed file
with
16 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |