Update pimox-haos-vm.sh

fix `function PVE_CHECK()`
pull/2781/head
tteckster 8 months ago committed by GitHub
parent 9c19734b5b
commit 42bd22d96d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -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

Loading…
Cancel
Save

Powered by BW's shoe-string budget.