DistroHopper/public/alma
2026-05-27 17:00:06 +02:00

50 lines
1.1 KiB
Text

# Template file for 'alma'
OSNAME="alma"
PRETTY="AlmaLinux"
LOGO=" "
ICON="alma.svg"
ICON_ONLINE="https://distrowatch.com/images/yvzhuwbpy/alma.png"
CATEGORY="Beginner"
BASEDOF="Fedora RHEL"
DESCRIPTION="Community distribution, focused on long-term stability, providing a robust production-grade platform. Binary compatible with RHEL®"
HOMEPAGE="https://almalinux.org/"
CREDENTIALS="-"
GPG=""
RSS=""
DW=""
MAGNET=""
CHAT=""
RELEASES="9 8 10.1 10"
EDITIONS="boot dvd minimal"
QEMU_ARCH="amd64 arm64 ppc64el s390x"
releases_() {
echo 10.1 10 9 8
}
editions_() {
echo boot minimal dvd
}
arch_() {
echo arm64 amd64 ppc64el s390x
}
get_() {
local HASH
local QEMU_ARCH
QEMU_ARCH=$(_qarch_to_upstream "${ARCH:-amd64}")
if [ "$RELEASE" = 10.1 ]; then
local ISO="AlmaLinux-${RELEASE}-${QEMU_ARCH}-${EDITION}.iso"
else
local ISO="AlmaLinux-${RELEASE}-latest-${QEMU_ARCH}-${EDITION}.iso"
fi
local URL="https://repo.almalinux.org/almalinux/${RELEASE}/isos/${QEMU_ARCH}"
HASH="$(web_pipe "${URL}/CHECKSUM" | grep "(${ISO}" | cut -d' ' -f4)"
echo "${URL}/${ISO} ${HASH}"
}
config_() {
echo "disk_size=\"32G\"" >> "${CONF_FILE}"
}