This commit is contained in:
2026-04-30 21:44:07 -05:00
parent 51c8e2c3c0
commit ca92655df5
2 changed files with 17 additions and 15 deletions
+3 -6
View File
@@ -3,18 +3,15 @@
action="$1"
FOLDER='/opt/idssys/ta-proxmenu'
VERS='2026.4.28-4'
VERS='2026.4.30-1'
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)
url="https://fedorapeople.org/groups/virt/virtio-win/direct-downloads/stable-virtio/virtio-win.iso"
while redirect_url=$( curl -I -s -S -f -w "%{redirect_url}\\n" -o /dev/null "${url}" ); do
VIRTIO_DOWNLOAD_URL=${url}; url=${redirect_url}; [[ -z "$url" ]] && break
done
VIRTIO_FILE=${VIRTIO_DOWNLOAD_URL##*/}
VIRTIO_URL="https://fedorapeople.org/groups/virt/virtio-win/direct-downloads/stable-virtio/virtio-win.iso"
# if [ -f /etc/apt/sources.list.d/gyptazy.list ]; then