mirror of
https://github.com/tteck/Proxmox.git
synced 2024-11-26 08:33:17 +01:00
Update pimox-haos-vm.sh
fix `function PVE_CHECK()`
This commit is contained in:
parent
9c19734b5b
commit
42bd22d96d
@ -84,9 +84,8 @@ else
|
||||
exit
|
||||
fi
|
||||
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 "Requires PVE7 Version 7.4-13 or later, or PVE8 Version 8.1.1 or later."
|
||||
echo -e "Exiting..."
|
||||
sleep 2
|
||||
exit
|
||||
|
Loading…
Reference in New Issue
Block a user