From 7b20f5aef8c44126c55409644734e6a28b396fdc Mon Sep 17 00:00:00 2001 From: tteckster Date: Fri, 9 Jun 2023 12:43:07 -0400 Subject: [PATCH] Update haos-vm.sh PVE 8 ready --- vm/haos-vm.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vm/haos-vm.sh b/vm/haos-vm.sh index 8709ebc6..06d15d21 100644 --- a/vm/haos-vm.sh +++ b/vm/haos-vm.sh @@ -85,7 +85,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..."