add_distro: HASH=$HASH

This commit is contained in:
zenobit 2023-03-21 02:39:03 +01:00
parent ce1bbfe33e
commit d8f7257726

View file

@ -27,7 +27,7 @@ echo "function get_$NAME() {
local HASH=""
local ISO="$ISO"
local URL="$URL"
HASH=\"$(wget -q -O- "${URL}/CHECKSUM" | grep "(${ISO}" | cut -d' ' -f4)\"
HASH="$HASH"
echo "${URL}/${ISO} ${HASH}"
}
" >> ${TMP_DIR}/newvm.tmp