2nd attempt at OracleLinux HASH checking
This commit is contained in:
parent
f7ead7e815
commit
8df11258f0
2
quickget
2
quickget
@ -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}"
|
||||
|
Loading…
Reference in New Issue
Block a user