mirror of https://github.com/tteck/Proxmox.git
parent
70d51d964d
commit
513049c50b
|
@ -79,10 +79,10 @@ else
|
||||||
exit
|
exit
|
||||||
fi
|
fi
|
||||||
function PVE_CHECK() {
|
function PVE_CHECK() {
|
||||||
if [ $(pveversion | grep "pve-manager/7.2\|7.3" | wc -l) -ne 1 ]; then
|
if [ $(pveversion | grep -c "pve-manager/7\.[2-9]") -eq 0 ]; then
|
||||||
echo "⚠ This version of Proxmox Virtual Environment is not supported"
|
echo -e "${CROSS} This version of Proxmox Virtual Environment is not supported"
|
||||||
echo "Requires PVE Version: =>7.2"
|
echo -e "Requires PVE Version 7.2 or higher"
|
||||||
echo "Exiting..."
|
echo -e "Exiting..."
|
||||||
sleep 2
|
sleep 2
|
||||||
exit
|
exit
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in New Issue