From 98addaa85a815233e298a06bcfc54774ef15dbda Mon Sep 17 00:00:00 2001 From: Rai Date: Wed, 15 Nov 2023 19:59:02 +0100 Subject: [PATCH] Update bootstrap.sh --- bootstrap/bootstrap.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bootstrap/bootstrap.sh b/bootstrap/bootstrap.sh index 06ee558..ec7754a 100755 --- a/bootstrap/bootstrap.sh +++ b/bootstrap/bootstrap.sh @@ -57,7 +57,8 @@ chk_fail $? announce "Downloading ISO" -curl -L "$ISO_URL" --output /mnt/scratch/win.iso +# Retry up to 10 times. -C - makes downloads resume where they stopped upon retry. +curl -L "$ISO_URL" --output /mnt/scratch/win.iso --retry 10 -C - chk_fail $? announce "Verifying ISO"