From 9d6186d4e94f4771bac7541feadb996f7a541d03 Mon Sep 17 00:00:00 2001 From: tteckster Date: Fri, 15 Apr 2022 08:27:38 -0400 Subject: [PATCH] Update homeassistant-v3.sh --- ct/homeassistant-v3.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ct/homeassistant-v3.sh b/ct/homeassistant-v3.sh index a9dafaa0..4e100ff6 100644 --- a/ct/homeassistant-v3.sh +++ b/ct/homeassistant-v3.sh @@ -10,7 +10,7 @@ GN=`echo "\033[32m"` CL=`echo "\033[m"` APP="Home Assistant" NSAPP=$(echo ${APP,,} | tr -d ' ') -PVE=$(pveversion | grep "pve-manager/7" | wc -l) + while true; do read -p "This will create a New ${APP} LXC. Proceed(y/n)?" yn case $yn in @@ -34,6 +34,7 @@ ${CL}" header_info function PVE_CHECK() { +PVE=$(pveversion | grep "pve-manager/7" | wc -l) if [[ $PVE != 1 ]]; then echo -e "${RD}This script requires Proxmox Virtual Environment 7.0 or greater${CL}" echo -e "Exiting..."