Allow 9.x PVE version in add-iptag.sh (#6679)

This commit is contained in:
Maciej Kobus 2025-08-08 19:39:10 +02:00 committed by GitHub
parent 5e6081fbea
commit 11b19fdeab
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1275,9 +1275,9 @@ while true; do
esac esac
done done
if ! pveversion | grep -Eq "pve-manager/8\.[0-4](\.[0-9]+)*"; then if ! pveversion | grep -Eq "pve-manager/(8\.[0-4]|9\.[0-9]+)(\.[0-9]+)*"; then
msg_error "This version of Proxmox Virtual Environment is not supported" msg_error "This version of Proxmox Virtual Environment is not supported"
msg_error "⚠️ Requires Proxmox Virtual Environment Version 8.0 or later." msg_error "⚠️ Requires Proxmox Virtual Environment Version 8.08.4 or 9.x."
msg_error "Exiting..." msg_error "Exiting..."
sleep 2 sleep 2
exit exit