harmonize pve versions check & vm vars (#3779)

* harmonize proxmox ve version check

* Update openwrt.sh

* push 0-4 and 1-4
This commit is contained in:
CanbiZ
2025-04-09 16:13:01 +02:00
committed by GitHub
parent a536c4a5a0
commit 874b61d4d5
17 changed files with 455 additions and 455 deletions

View File

@@ -95,7 +95,7 @@ uninstall() {
msg_ok "Completed Successfully!\n"
}
if ! pveversion | grep -Eq "pve-manager/(8\.[0-9])"; then
if ! pveversion | grep -Eq "pve-manager/8\.[0-4](\.[0-9]+)*"; then
echo -e "This version of Proxmox Virtual Environment is not supported"
echo -e "Requires PVE Version 8.0 or higher"
echo -e "Exiting..."