Skip to content

Commit

Permalink
repair alma linux
Browse files Browse the repository at this point in the history
old iso deprecated
added boot iso
changed mirror to official almalinux.org
versions 8 and 9 will download latest release
  • Loading branch information
zen0bit committed Sep 30, 2023
1 parent c7e91a0 commit 93af1f7
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions quickget
Original file line number Diff line number Diff line change
Expand Up @@ -247,11 +247,11 @@ function os_support() {
}

function releases_alma() {
echo 8.6 8.7 9.0 9.1
echo 8 9
}

function editions_alma() {
echo minimal dvd
echo boot minimal dvd
}

function releases_alpine() {
Expand Down Expand Up @@ -970,8 +970,8 @@ EOF
function get_alma() {
local EDITION="${1:-}"
local HASH=""
local ISO="AlmaLinux-${RELEASE}-x86_64-${EDITION}.iso"
local URL="https://mirror.rackspace.com/almalinux/${RELEASE/beta-1/beta}/isos/x86_64/"
local ISO="AlmaLinux-${RELEASE}-latest-x86_64-${EDITION}.iso"
local URL="https://repo.almalinux.org/almalinux/${RELEASE}/isos/x86_64"
HASH="$(wget -q -O- "${URL}/CHECKSUM" | grep "(${ISO}" | cut -d' ' -f4)"
echo "${URL}/${ISO} ${HASH}"
}
Expand Down

0 comments on commit 93af1f7

Please sign in to comment.