[archiso] Add checksum support to pxe_curl
Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
This commit is contained in:
parent
cd359bc37a
commit
5b9eba924d
@ -55,6 +55,10 @@ archiso_pxe_curl_mount_handler () {
|
|||||||
fi
|
fi
|
||||||
done < "${_aitab_file}"
|
done < "${_aitab_file}"
|
||||||
|
|
||||||
|
if [[ "${checksum}" == "y" ]]; then
|
||||||
|
_curl_get "${archiso_curl_url}${archisobasedir}/checksum.${arch}.md5" "${archisobasedir}"
|
||||||
|
fi
|
||||||
|
|
||||||
mkdir -p "/run/archiso/bootmnt"
|
mkdir -p "/run/archiso/bootmnt"
|
||||||
mount -o bind /run/archiso/curlspace /run/archiso/bootmnt
|
mount -o bind /run/archiso/curlspace /run/archiso/bootmnt
|
||||||
else
|
else
|
||||||
|
Loading…
Reference in New Issue
Block a user