Update remaining pve_check functions to support Proxmox 9.0 and 9.1

This commit is contained in:
CanbiZ
2025-11-19 16:42:59 +01:00
parent 9e22bee07e
commit b7430c20fe
16 changed files with 4044 additions and 4044 deletions

View File

@@ -394,9 +394,9 @@ check_root() {
}
pve_check() {
if ! pveversion | grep -Eq "pve-manager/8\.[1-4](\.[0-9]+)*"; then
if ! pveversion | grep -Eq "pve-manager/(8\.[1-4]|9\.[0-1])(\.[0-9]+)*"; then
msg_error "This version of Proxmox Virtual Environment is not supported"
echo -e "Requires Proxmox Virtual Environment Version 8.1 or later."
echo -e "Requires Proxmox Virtual Environment Version 8.1 - 8.4 or 9.0 - 9.1."
echo -e "Exiting..."
sleep 2
exit