From 512da0f278e32034bba1fa7e1c93f6cf59cf5453 Mon Sep 17 00:00:00 2001 From: tteckster Date: Thu, 14 Apr 2022 16:37:51 -0400 Subject: [PATCH] Update homeassistant-v3.sh --- ct/homeassistant-v3.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ct/homeassistant-v3.sh b/ct/homeassistant-v3.sh index 6c18f194..57f9bc76 100644 --- a/ct/homeassistant-v3.sh +++ b/ct/homeassistant-v3.sh @@ -33,12 +33,14 @@ ${CL}" header_info +function PVE_CHECK() { if [[ $PVE != 1 ]]; then echo -e "${RD}This script requires Proxmox Virtual Environment 7.0 or greater${CL}" echo -e "Exiting..." sleep 2 exit fi +} function default_settings() { clear @@ -259,6 +261,7 @@ function start_script() { fi; } +PVE_CHECK start_script set -o errexit