mirror of
https://github.com/tteck/Proxmox.git
synced 2024-11-30 02:14:34 +01:00
Update pimox-haos-vm.sh
PVE 8 compatible
This commit is contained in:
parent
9e2a5129e8
commit
c495bdd5c4
@ -79,7 +79,7 @@ else
|
|||||||
exit
|
exit
|
||||||
fi
|
fi
|
||||||
function PVE_CHECK() {
|
function PVE_CHECK() {
|
||||||
if [ $(pveversion | grep -c "pve-manager/7\.[2-9]") -eq 0 ]; then
|
if ! pveversion | grep -Eq "pve-manager/(7\.[2-9]|8\.[0-9])"; then
|
||||||
echo -e "${CROSS} This version of Proxmox Virtual Environment is not supported"
|
echo -e "${CROSS} This version of Proxmox Virtual Environment is not supported"
|
||||||
echo -e "Requires PVE Version 7.2 or higher"
|
echo -e "Requires PVE Version 7.2 or higher"
|
||||||
echo -e "Exiting..."
|
echo -e "Exiting..."
|
||||||
|
Loading…
Reference in New Issue
Block a user