From b6f0818c2a99f82266b57e0179aaff1438d56fd7 Mon Sep 17 00:00:00 2001 From: Mniak Date: Sun, 19 Nov 2023 12:45:42 -0300 Subject: [PATCH 1/2] Update bootstrap.sh --- bootstrap/bootstrap.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bootstrap/bootstrap.sh b/bootstrap/bootstrap.sh index 06ee558..127be1e 100755 --- a/bootstrap/bootstrap.sh +++ b/bootstrap/bootstrap.sh @@ -61,7 +61,7 @@ curl -L "$ISO_URL" --output /mnt/scratch/win.iso chk_fail $? announce "Verifying ISO" -echo "$ISO_HASH /mnt/scratch/win.iso" | sha256sum -c - +echo "$ISO_HASH" | awk '{print tolower($0)}' | xargs -I{} echo "{} /mnt/scratch/win.iso" | sha256sum -c - chk_fail $? announce "Mounting ISO" From a230de24f3d920b233741a2136381770b0a249a9 Mon Sep 17 00:00:00 2001 From: Mniak Date: Thu, 11 Apr 2024 00:41:45 -0300 Subject: [PATCH 2/2] Update bootstrap/bootstrap.sh Co-authored-by: BenBE --- bootstrap/bootstrap.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bootstrap/bootstrap.sh b/bootstrap/bootstrap.sh index 127be1e..09c2a8d 100755 --- a/bootstrap/bootstrap.sh +++ b/bootstrap/bootstrap.sh @@ -61,7 +61,7 @@ curl -L "$ISO_URL" --output /mnt/scratch/win.iso chk_fail $? announce "Verifying ISO" -echo "$ISO_HASH" | awk '{print tolower($0)}' | xargs -I{} echo "{} /mnt/scratch/win.iso" | sha256sum -c - +echo "$ISO_HASH" | tr [[:upper:]] [[:lower:]] | xargs -I{} echo "{} /mnt/scratch/win.iso" | sha256sum -c - chk_fail $? announce "Mounting ISO"