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

@@ -191,7 +191,7 @@ root_check() {
# This function checks the version of Proxmox Virtual Environment (PVE) and exits if the version is not supported.
pve_check() {
if ! pveversion | grep -Eq "pve-manager/8\.[1-3](\.[0-9]+)*"; then
if ! pveversion | grep -Eq "pve-manager/8\.[0-4](\.[0-9]+)*"; then
msg_error "${CROSS}${RD}This version of Proxmox Virtual Environment is not supported"
echo -e "Requires Proxmox Virtual Environment Version 8.1 or later."
echo -e "Exiting..."