Update haos-vm.sh

PVE 8 ready
pull/1474/head
tteckster 2 years ago committed by GitHub
parent fb3502c0bd
commit 7b20f5aef8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -85,7 +85,7 @@ function msg_error() {
}
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 "Requires PVE Version 7.2 or higher"
echo -e "Exiting..."

Loading…
Cancel
Save

Powered by BW's shoe-string budget.