Update homeassistant-v3.sh

This commit is contained in:
tteckster 2022-04-14 16:37:51 -04:00 committed by GitHub
parent ca997e7ba8
commit 512da0f278
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 0 deletions

View File

@ -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