2nd attempt at OracleLinux HASH checking

This commit is contained in:
Charles Hood 2021-11-16 18:06:09 -05:00 committed by Martin Wimpress
parent f7ead7e815
commit 8df11258f0

View file

@ -1056,7 +1056,7 @@ function get_oraclelinux() {
ISO="OracleLinux-R${majorver}-U${minorver}-${arch}-dvd.iso"
URL="${baseurl}/${ISO}"
HASH=$(wget -q -O- "${hashurl}" | cut -d' ' -f1)
HASH=$(wget -q -O- "${hashurl}" | grep "${ISO}" | cut -d' ' -f1)
web_get "${URL}" "${VM_PATH}"
check_hash "${ISO}" "${HASH}"