From a0f9a1c20de708094229dfca90e924e1ac980018 Mon Sep 17 00:00:00 2001 From: tteckster Date: Mon, 2 Jan 2023 20:37:59 -0500 Subject: [PATCH] Update haos-vm-v4.sh tweak --- vm/haos-vm-v4.sh | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/vm/haos-vm-v4.sh b/vm/haos-vm-v4.sh index 85e12e84..c66b2e6f 100644 --- a/vm/haos-vm-v4.sh +++ b/vm/haos-vm-v4.sh @@ -62,14 +62,12 @@ function cleanup() { } TEMP_DIR=$(mktemp -d) pushd $TEMP_DIR >/dev/null -if [ `pveversion | grep "pve-manager/7.2" | wc -l` -ne 1 ]; then - if [ `pveversion | grep "pve-manager/7.3" | wc -l` -ne 1 ]; then +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..." sleep 3 exit - fi fi if (whiptail --title "HOME ASSISTANT OS VM" --yesno "This will create a New Home Assistant OS VM. Proceed?" 10 58); then echo "User selected Yes"