mirror of https://github.com/tteck/Proxmox.git
parent
1a876727af
commit
a0f9a1c20d
|
@ -62,15 +62,13 @@ function cleanup() {
|
||||||
}
|
}
|
||||||
TEMP_DIR=$(mktemp -d)
|
TEMP_DIR=$(mktemp -d)
|
||||||
pushd $TEMP_DIR >/dev/null
|
pushd $TEMP_DIR >/dev/null
|
||||||
if [ `pveversion | grep "pve-manager/7.2" | wc -l` -ne 1 ]; then
|
if [ `pveversion | grep "pve-manager/7.2\|7.3" | wc -l` -ne 1 ]; then
|
||||||
if [ `pveversion | grep "pve-manager/7.3" | wc -l` -ne 1 ]; then
|
|
||||||
echo "⚠ This version of Proxmox Virtual Environment is not supported"
|
echo "⚠ This version of Proxmox Virtual Environment is not supported"
|
||||||
echo "Requires PVE Version: =>7.2"
|
echo "Requires PVE Version: =>7.2"
|
||||||
echo "Exiting..."
|
echo "Exiting..."
|
||||||
sleep 3
|
sleep 3
|
||||||
exit
|
exit
|
||||||
fi
|
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"
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in New Issue