mirror of
https://github.com/tteck/Proxmox.git
synced 2024-11-30 02:14:34 +01:00
Update haos_vm.sh
This commit is contained in:
parent
dd4c9f2f1f
commit
31df60631d
@ -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 New Issue
Block a user