Update haos_vm.sh
This commit is contained in:
parent
dd4c9f2f1f
commit
31df60631d
1 changed files with 3 additions and 2 deletions
|
@ -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"
|
||||||
|
|
Loading…
Reference in a new issue