Extend PVE support to version 9.0 and 9.1 in all pve_check functions

This commit is contained in:
CanbiZ
2025-11-19 16:38:50 +01:00
parent eea15912e2
commit 9e22bee07e
10 changed files with 25 additions and 25 deletions

View File

@@ -118,9 +118,9 @@ function check_root() {
}
function 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