diff --git a/src/install.sh b/src/install.sh index d423365..ee6a69b 100644 --- a/src/install.sh +++ b/src/install.sh @@ -220,8 +220,11 @@ if [ -z "$BOOT" ] || [[ "$BOOT" == *"example.com/image.iso" ]]; then error "No value specified for the BOOT variable." && exit 64 fi +! getURL "$BOOT" "test" && exit 34 + url=$(getURL "$BOOT" "url") name=$(getURL "$BOOT" "name") + [ -n "$url" ] && BOOT="$url" if [[ "$BOOT" != *"."* ]]; then