This commit is contained in:
2026-03-05 19:59:49 -06:00
parent c54f40520e
commit 64fdae268c
2 changed files with 7 additions and 3 deletions

View File

@@ -3,7 +3,7 @@
action="$1" action="$1"
FOLDER='/opt/idssys/ta-proxmenu' 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) RNIP=$(ip addr show $(ip route | awk '/default/ { print $5 }') | grep "inet" | head -n 1 | awk '/inet/ {print $2}' | cut -d'/' -f1)

View File

@@ -176,11 +176,15 @@ INSTALL_OMSA() {
DOWNLOAD_VIRTIO() { DOWNLOAD_VIRTIO() {
url="https://fedorapeople.org/groups/virt/virtio-win/direct-downloads/stable-virtio/virtio-win.iso" 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 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} url=${redirect_url}
[[ -z "$url" ]] && break [[ -z "$url" ]] && break
done 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]}" echo -e "\n${idsCL[Green]}VirtIO drivers for Windows have been downloaded to the local storage${idsCL[Default]}"
[ ${action-x} ] && exit 0 || ENTER2CONTINUE [ ${action-x} ] && exit 0 || ENTER2CONTINUE