# 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="" function releases_() { echo 10.1 10 9 8 } function editions_() { echo boot minimal dvd } function arch_() { echo arm64 amd64 ppc64el s390x } function 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}" } function config_() { echo "disk_size=\"32G\"" >> "${CONF_FILE}" }