|
|
@ -248,7 +248,8 @@ function releases_cachyos() { |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
function releases_debian() { |
|
|
|
function releases_debian() { |
|
|
|
echo 11.2.0 |
|
|
|
echo 10.11.0 \ |
|
|
|
|
|
|
|
11.2.0 |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
function editions_debian() { |
|
|
|
function editions_debian() { |
|
|
@ -819,12 +820,17 @@ function get_debian() { |
|
|
|
local EDITION="" |
|
|
|
local EDITION="" |
|
|
|
local HASH="" |
|
|
|
local HASH="" |
|
|
|
local ISO="" |
|
|
|
local ISO="" |
|
|
|
local URL="https://cdimage.debian.org/debian-cd/current-live/amd64/iso-hybrid" |
|
|
|
local URL="" |
|
|
|
|
|
|
|
|
|
|
|
if [ -n "${1}" ]; then |
|
|
|
if [ -n "${1}" ]; then |
|
|
|
EDITION="${1}" |
|
|
|
EDITION="${1}" |
|
|
|
fi |
|
|
|
fi |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
case ${RELEASE} in |
|
|
|
|
|
|
|
11.2.0) URL="https://cdimage.debian.org/debian-cd/${RELEASE}-live/amd64/iso-hybrid";; |
|
|
|
|
|
|
|
*) URL="https://cdimage.debian.org/cdimage/archive/${RELEASE}-live/amd64/iso-hybrid/" |
|
|
|
|
|
|
|
esac |
|
|
|
|
|
|
|
|
|
|
|
ISO="debian-live-${RELEASE}-amd64-${EDITION}.iso" |
|
|
|
ISO="debian-live-${RELEASE}-amd64-${EDITION}.iso" |
|
|
|
HASH=$(wget -q -O- "${URL}/SHA512SUMS" | grep "${ISO}" | cut -d' ' -f1) |
|
|
|
HASH=$(wget -q -O- "${URL}/SHA512SUMS" | grep "${ISO}" | cut -d' ' -f1) |
|
|
|
web_get "${URL}/${ISO}" "${VM_PATH}" |
|
|
|
web_get "${URL}/${ISO}" "${VM_PATH}" |
|
|
|