diff --git a/vm/archlinux-vm.sh b/vm/archlinux-vm.sh index e6498c13e..e9a67306b 100644 --- a/vm/archlinux-vm.sh +++ b/vm/archlinux-vm.sh @@ -424,7 +424,7 @@ msg_info "Retrieving the URL for the Arch Linux .iso File" URL=https://geo.mirror.pkgbuild.com/iso/latest/archlinux-x86_64.iso sleep 2 msg_ok "${CL}${BL}${URL}${CL}" -curl -fsSL -o "$(basename "$URL")" "$URL" +curl -f#SL -o "$(basename "$URL")" "$URL" echo -en "\e[1A\e[0K" FILE=$(basename $URL) msg_ok "Downloaded ${CL}${BL}${FILE}${CL}" diff --git a/vm/debian-vm.sh b/vm/debian-vm.sh index b4a38784b..cc89265c0 100644 --- a/vm/debian-vm.sh +++ b/vm/debian-vm.sh @@ -425,7 +425,7 @@ msg_info "Retrieving the URL for the Debian 12 Qcow2 Disk Image" URL=https://cloud.debian.org/images/cloud/bookworm/latest/debian-12-nocloud-amd64.qcow2 sleep 2 msg_ok "${CL}${BL}${URL}${CL}" -curl -fsSL -o "$(basename "$URL")" "$URL" +curl -f#SL -o "$(basename "$URL")" "$URL" echo -en "\e[1A\e[0K" FILE=$(basename $URL) msg_ok "Downloaded ${CL}${BL}${FILE}${CL}" diff --git a/vm/docker-vm.sh b/vm/docker-vm.sh index d9bd48d05..4bd6bc8e4 100644 --- a/vm/docker-vm.sh +++ b/vm/docker-vm.sh @@ -388,7 +388,7 @@ msg_info "Retrieving the URL for the Debian 12 Qcow2 Disk Image" URL="https://cloud.debian.org/images/cloud/bookworm/latest/debian-12-nocloud-$(dpkg --print-architecture).qcow2" sleep 2 msg_ok "${CL}${BL}${URL}${CL}" -curl -fsSL -o "$(basename "$URL")" "$URL" +curl -f#SL -o "$(basename "$URL")" "$URL" echo -en "\e[1A\e[0K" FILE=$(basename $URL) msg_ok "Downloaded ${CL}${BL}${FILE}${CL}" diff --git a/vm/haos-vm.sh b/vm/haos-vm.sh index 7f03ef14b..0f7bb0744 100644 --- a/vm/haos-vm.sh +++ b/vm/haos-vm.sh @@ -31,7 +31,7 @@ var_os="homeassistant" DISK_SIZE="32G" # for version in "${VERSIONS[@]}"; do - eval "$version=$(curl -fsSL https://raw.githubusercontent.com/home-assistant/version/master/$version.json | grep "ova" | cut -d '"' -f 4)" + eval "$version=$(curl -fsSL https://raw.githubusercontent.com/home-assistant/version/master/stable.json | grep '"ova"' | cut -d '"' -f 4)" done YW=$(echo "\033[33m") BL=$(echo "\033[36m") @@ -432,7 +432,7 @@ else fi sleep 2 msg_ok "${CL}${BL}${URL}${CL}" -curl -fsSL -o "$(basename "$URL")" "$URL" +curl -f#SL -o "$(basename "$URL")" "$URL" echo -en "\e[1A\e[0K" FILE=$(basename $URL) msg_ok "Downloaded ${CL}${BL}haos_ova-${BRANCH}.qcow2.xz${CL}" diff --git a/vm/mikrotik-routeros.sh b/vm/mikrotik-routeros.sh index 816c66378..e2d437664 100644 --- a/vm/mikrotik-routeros.sh +++ b/vm/mikrotik-routeros.sh @@ -254,7 +254,7 @@ URL=https://download.mikrotik.com/routeros/7.15.3/chr-7.15.3.img.zip sleep 2 msg_ok "${CL}${BL}${URL}${CL}" -curl -fsSL -o "$(basename "$URL")" "$URL" +curl -f#SL -o "$(basename "$URL")" "$URL" echo -en "\e[1A\e[0K" FILE=$(basename $URL) msg_ok "Downloaded ${CL}${BL}$FILE${CL}" diff --git a/vm/nextcloud-vm.sh b/vm/nextcloud-vm.sh index c38de7375..5d62fc097 100644 --- a/vm/nextcloud-vm.sh +++ b/vm/nextcloud-vm.sh @@ -389,7 +389,7 @@ msg_info "Retrieving the URL for the $NAME Disk Image" URL=http://mirror.turnkeylinux.org/turnkeylinux/images/iso/turnkey-nextcloud-18.1-bookworm-amd64.iso sleep 2 msg_ok "${CL}${BL}${URL}${CL}" -curl -fsSL -o "$(basename "$URL")" "$URL" +curl -f#SL -o "$(basename "$URL")" "$URL" echo -en "\e[1A\e[0K" FILE=$(basename $URL) msg_ok "Downloaded ${CL}${BL}${FILE}${CL}" diff --git a/vm/openwrt.sh b/vm/openwrt.sh index caf5ac6aa..f5dfb50fa 100644 --- a/vm/openwrt.sh +++ b/vm/openwrt.sh @@ -453,7 +453,7 @@ URL="https://downloads.openwrt.org/releases/$stableversion/targets/x86/64/openwr sleep 2 msg_ok "${CL}${BL}${URL}${CL}" -curl -fsSL -o "$(basename "$URL")" "$URL" +curl -f#SL -o "$(basename "$URL")" "$URL" echo -en "\e[1A\e[0K" FILE=$(basename $URL) msg_ok "Downloaded ${CL}${BL}$FILE${CL}" diff --git a/vm/opnsense-vm.sh b/vm/opnsense-vm.sh index db4ae2898..93b89c1e5 100644 --- a/vm/opnsense-vm.sh +++ b/vm/opnsense-vm.sh @@ -527,7 +527,7 @@ msg_info "Retrieving the URL for the OPNsense Qcow2 Disk Image" URL=https://download.freebsd.org/releases/VM-IMAGES/14.2-RELEASE/amd64/Latest/FreeBSD-14.2-RELEASE-amd64.qcow2.xz sleep 2 msg_ok "${CL}${BL}${URL}${CL}" -curl -fsSL -o "$(basename "$URL")" "$URL" +curl -f#SL -o "$(basename "$URL")" "$URL" echo -en "\e[1A\e[0K" FILE=Fressbsd.qcow2 unxz -cv $(basename $URL) >${FILE} diff --git a/vm/owncloud-vm.sh b/vm/owncloud-vm.sh index 7a663a0c1..317299bcd 100644 --- a/vm/owncloud-vm.sh +++ b/vm/owncloud-vm.sh @@ -389,7 +389,7 @@ msg_info "Retrieving the URL for the $NAME Disk Image" URL=http://mirror.turnkeylinux.org/turnkeylinux/images/iso/turnkey-owncloud-18.0-bookworm-amd64.iso sleep 2 msg_ok "${CL}${BL}${URL}${CL}" -curl -fsSL -o "$(basename "$URL")" "$URL" +curl -f#SL -o "$(basename "$URL")" "$URL" echo -en "\e[1A\e[0K" FILE=$(basename $URL) msg_ok "Downloaded ${CL}${BL}${FILE}${CL}" diff --git a/vm/pimox-haos-vm.sh b/vm/pimox-haos-vm.sh index 8161d6f71..3ef4d2954 100644 --- a/vm/pimox-haos-vm.sh +++ b/vm/pimox-haos-vm.sh @@ -296,7 +296,7 @@ msg_info "Getting URL for Home Assistant ${BRANCH} Disk Image" URL=https://github.com/home-assistant/operating-system/releases/download/${BRANCH}/haos_generic-aarch64-${BRANCH}.qcow2.xz sleep 2 msg_ok "${CL}${BL}${URL}${CL}" -curl -fsSL -o "$(basename "$URL")" "$URL" +curl -f#SL -o "$(basename "$URL")" "$URL" echo -en "\e[1A\e[0K" FILE=$(basename $URL) msg_ok "Downloaded ${CL}${BL}haos_generic-aarch64-${BRANCH}.qcow2.xz${CL}" diff --git a/vm/ubuntu2204-vm.sh b/vm/ubuntu2204-vm.sh index 73457818a..4de7c6606 100644 --- a/vm/ubuntu2204-vm.sh +++ b/vm/ubuntu2204-vm.sh @@ -423,7 +423,7 @@ msg_info "Retrieving the URL for the Ubuntu 22.04 Disk Image" URL=https://cloud-images.ubuntu.com/jammy/current/jammy-server-cloudimg-amd64.img sleep 2 msg_ok "${CL}${BL}${URL}${CL}" -curl -fsSL -o "$(basename "$URL")" "$URL" +curl -f#SL -o "$(basename "$URL")" "$URL" echo -en "\e[1A\e[0K" FILE=$(basename $URL) msg_ok "Downloaded ${CL}${BL}${FILE}${CL}" diff --git a/vm/ubuntu2404-vm.sh b/vm/ubuntu2404-vm.sh index 5ea957b3e..d4d112df1 100644 --- a/vm/ubuntu2404-vm.sh +++ b/vm/ubuntu2404-vm.sh @@ -423,7 +423,7 @@ msg_info "Retrieving the URL for the Ubuntu 24.04 Disk Image" URL=https://cloud-images.ubuntu.com/noble/current/noble-server-cloudimg-amd64.img sleep 2 msg_ok "${CL}${BL}${URL}${CL}" -curl -fsSL -o "$(basename "$URL")" "$URL" +curl -f#SL -o "$(basename "$URL")" "$URL" echo -en "\e[1A\e[0K" FILE=$(basename $URL) msg_ok "Downloaded ${CL}${BL}${FILE}${CL}" diff --git a/vm/ubuntu2410-vm.sh b/vm/ubuntu2410-vm.sh index 459c1ac6a..b2b03b1f1 100644 --- a/vm/ubuntu2410-vm.sh +++ b/vm/ubuntu2410-vm.sh @@ -423,7 +423,7 @@ msg_info "Retrieving the URL for the Ubuntu 24.10 Disk Image" URL=https://cloud-images.ubuntu.com/oracular/current/oracular-server-cloudimg-amd64.img sleep 2 msg_ok "${CL}${BL}${URL}${CL}" -curl -fsSL -o "$(basename "$URL")" "$URL" +curl -f#SL -o "$(basename "$URL")" "$URL" echo -en "\e[1A\e[0K" FILE=$(basename $URL) msg_ok "Downloaded ${CL}${BL}${FILE}${CL}"