From 513049c50b9dfd78012fef52bfa55052429714d4 Mon Sep 17 00:00:00 2001 From: tteckster Date: Wed, 26 Apr 2023 05:38:40 -0400 Subject: [PATCH] Update pimox-haos-vm.sh update pve_check --- vm/pimox-haos-vm.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/vm/pimox-haos-vm.sh b/vm/pimox-haos-vm.sh index ca69e858..fff2fa52 100644 --- a/vm/pimox-haos-vm.sh +++ b/vm/pimox-haos-vm.sh @@ -79,10 +79,10 @@ else exit fi function PVE_CHECK() { - if [ $(pveversion | grep "pve-manager/7.2\|7.3" | wc -l) -ne 1 ]; then - echo "⚠ This version of Proxmox Virtual Environment is not supported" - echo "Requires PVE Version: =>7.2" - echo "Exiting..." + if [ $(pveversion | grep -c "pve-manager/7\.[2-9]") -eq 0 ]; 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..." sleep 2 exit fi