This commit is contained in:
2026-04-30 22:25:31 -05:00
parent 7f237fea30
commit 5bfe80e26b
2 changed files with 3 additions and 9 deletions
+1 -7
View File
@@ -174,13 +174,7 @@ INSTALL_OMSA() {
}
DOWNLOAD_VIRTIO() {
while redirect_url=$( curl -I -s -S -f -w "%{redirect_url}\\n" -o /dev/null "${VIRTIO_URL}" ); do
if [ ${redirect_url} != "" ]; then
VIRTIO_DOWNLOAD_URL=${redirect_url}
VIRTIO_FILE=${redirect_url##*/}
break
fi
done
VIRTIO_FILE=${VIRTIO_DOWNLOAD_URL##*/}
echo -e "\n${idsCL[LightCyan]}Current \"Stable\" version available for download: ${idsCL[White]}${VIRTIO_FILE}${idsCL[Default]}"
echo $VIRTIO_DOWNLOAD_URL