Update haos_vm.sh

This commit is contained in:
tteckster 2022-08-25 14:55:31 -04:00 committed by GitHub
parent dd4c9f2f1f
commit 31df60631d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -49,8 +49,9 @@ TEMP_DIR=$(mktemp -d)
pushd $TEMP_DIR >/dev/null pushd $TEMP_DIR >/dev/null
if [ `pveversion | grep "pve-manager/7" | wc -l` -eq 1 ]; then if [ `pveversion | grep "pve-manager/7" | wc -l` -eq 1 ]; then
echo -e "${YW}This script is for Proxmox Virtual Environment 6.xx${CL}" echo -e "${YW}This script is for Proxmox Virtual Environment 6.xx${CL}"
echo -e "Continuing..." echo "Exiting..."
sleep 3 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 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" echo "User selected Yes"