From d8f7257726d19ea9777ec2acdbfa051d098fb0ae Mon Sep 17 00:00:00 2001 From: zenobit Date: Tue, 21 Mar 2023 02:39:03 +0100 Subject: [PATCH] add_distro: HASH=$HASH --- config/add_distro.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/add_distro.sh b/config/add_distro.sh index 5751148..73a1a45 100755 --- a/config/add_distro.sh +++ b/config/add_distro.sh @@ -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