Add AlmaLinux 9 template (Alma.sh), configurable root grow command

This commit is contained in:
steffen committed 2026-11-04 21:16:59 +01:00
1 parent 665eadc8d6
commit b61de5de22
4 files changed
+21 -2

No files matched your search

Executable
+16
View File
@@ -0,0 +1,16 @@
#!/usr/bin/env bash
cd "$(dirname "$0")" && source ./lib.sh
VM_ID=5000
VM_NAME="AlmaLinux-9"
CPU_CORE=2
CPU_SOCKET=1
RAM=4096
DISK=30
IMAGE_URL="https://repo.almalinux.org/almalinux/9/cloud/x86_64/images/AlmaLinux-9-GenericCloud-latest.x86_64.qcow2"
PACKAGES=""
DOCKER=0
# Alma keeps root on partition 4 with XFS
GROW_CMD="growpart /dev/sda 4 && xfs_growfs /"
build_template