Update pimox-haos-vm.sh

fix `function PVE_CHECK()`
This commit is contained in:
tteckster 2024-04-11 19:14:56 -04:00 committed by GitHub
parent 9c19734b5b
commit 42bd22d96d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -84,9 +84,8 @@ else
exit exit
fi fi
function PVE_CHECK() { function PVE_CHECK() {
if ! pveversion | grep -Eq "pve-manager/(7.4-[1][3-9]|8.1.[1-9])"; then if ! pveversion | grep -Eq "pve-manager/7.[0-4]"; 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 PVE7 Version 7.4-13 or later, or PVE8 Version 8.1.1 or later."
echo -e "Exiting..." echo -e "Exiting..."
sleep 2 sleep 2
exit exit