Merge branch 'update-alma' into combined-updates

This commit is contained in:
Phil Clifford 2022-06-18 02:38:15 +01:00
commit dc7b673079

View File

@ -205,7 +205,7 @@ function os_support() {
}
function releases_alma() {
echo 8.4 8.5
echo 8.5 8.6 9.0
}
function editions_alma() {
@ -751,7 +751,7 @@ function get_alma() {
local EDITION="${1:-}"
local HASH=""
local ISO="AlmaLinux-${RELEASE}-x86_64-${EDITION}.iso"
local URL="http://lon.mirror.rackspace.com/almalinux/${RELEASE}/isos/x86_64/"
local URL="http://lon.mirror.rackspace.com/almalinux/${RELEASE/beta-1/beta}/isos/x86_64/"
HASH="$(wget -q -O- "${URL}/CHECKSUM" | grep "(${ISO}" | cut -d' ' -f4)"
echo "${URL}/${ISO} ${HASH}"
}