From f1319f44fe7c603e9a8938911d3eaf58899386dc Mon Sep 17 00:00:00 2001 From: tteckster Date: Thu, 22 Jun 2023 15:55:39 -0400 Subject: [PATCH] Update openwrt.sh add pve 8 fixes https://github.com/tteck/Proxmox/issues/1528 --- vm/openwrt.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vm/openwrt.sh b/vm/openwrt.sh index e3eee268..3b9952af 100644 --- a/vm/openwrt.sh +++ b/vm/openwrt.sh @@ -157,7 +157,7 @@ function msg_error() { } function pve_check() { - if [ $(pveversion | grep -c "pve-manager/7\.[2-9]") -eq 0 ]; then + if ! pveversion | grep -Eq "pve-manager/(7\.[2-9]|8\.[0-9])"; then echo -e "${CROSS} This version of Proxmox Virtual Environment is not supported" echo -e "Requires PVE Version 7.2 or higher" echo -e "Exiting..."