Update openwrt.sh

add pve 8
fixes https://github.com/tteck/Proxmox/issues/1528
This commit is contained in:
tteckster 2023-06-22 15:55:39 -04:00 committed by GitHub
parent 4c8a31f485
commit f1319f44fe
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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..."