1
0
Fork 0
mirror of https://github.com/JasonN3/build-container-installer.git synced 2025-12-25 10:57:55 +01:00
build-container-installer/test/iso/install_hash.sh
2024-03-31 10:56:18 -04:00

13 lines
No EOL
281 B
Bash

#!/bin/bash
set -ex
checkisomd5 ../../${ISO_NAME}
cd $(dirname ../../${ISO_NAME}) && sha256sum -c $(basename ${ISO_NAME})-CHECKSUM
if [[ $? != 0 ]]
then
echo "Found:"
checkisomd5 --md5sumonly ../../${ISO_NAME}
echo "Expected:"
implantisomd5 --force base-39.iso
fi