From 64fdae268ca92af88b2226500df6a48d99439da2 Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Thu, 5 Mar 2026 19:59:49 -0600 Subject: [PATCH] update --- defaults.inc | 2 +- proxmenu-scripts.sh | 8 ++++++-- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/defaults.inc b/defaults.inc index 8563f61..a1ea38b 100755 --- a/defaults.inc +++ b/defaults.inc @@ -3,7 +3,7 @@ action="$1" FOLDER='/opt/idssys/ta-proxmenu' -VERS='2026.2.8' +VERS='2026.3.1' RNIP=$(ip addr show $(ip route | awk '/default/ { print $5 }') | grep "inet" | head -n 1 | awk '/inet/ {print $2}' | cut -d'/' -f1) diff --git a/proxmenu-scripts.sh b/proxmenu-scripts.sh index 1e8bb2b..9cec22e 100755 --- a/proxmenu-scripts.sh +++ b/proxmenu-scripts.sh @@ -176,11 +176,15 @@ INSTALL_OMSA() { DOWNLOAD_VIRTIO() { 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 - url2=${url} + DOWNLOAD_URL=${url} url=${redirect_url} [[ -z "$url" ]] && break done - echo "HERE: ${url} - ${url2}" + echo -e "\n${idsCL[LightCyan]}Current \"Stable\" version available for download:${idsCL[Default]}" + echo -e "${DOWNLOAD_URL}\n" + echo -en "${idsCL[Green]}Downloading ... " + wget -q -P /var/lib/vz/template/iso ${DOWNLOAD_URL} + echo -en "${idsCL[LightGreen]}Done${idsCL[Default]}" echo -e "\n${idsCL[Green]}VirtIO drivers for Windows have been downloaded to the local storage${idsCL[Default]}" [ ${action-x} ] && exit 0 || ENTER2CONTINUE