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
+2 -2
View File
@@ -3,14 +3,14 @@
action="$1"
FOLDER='/opt/idssys/ta-proxmenu'
VERS='2026.4.30-2'
VERS='2026.4.30-4'
noupdate=' restart cpu mm '
RNIP=$(ip addr show $(ip route | awk '/default/ { print $5 }') | grep "inet" | head -n 1 | awk '/inet/ {print $2}' | cut -d'/' -f1)
VIRTIO_URL="https://fedorapeople.org/groups/virt/virtio-win/direct-downloads/stable-virtio/virtio-win.iso"
VIRTIO_DOWNLOAD_URL="https://fedorapeople.org/groups/virt/virtio-win/direct-downloads/stable-virtio/virtio-win.iso"
+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