From d00fc42de253be0e8b98cd0149a01dd14930387d Mon Sep 17 00:00:00 2001 From: Palette <46242177+palette-dev@users.noreply.github.com> Date: Fri, 17 May 2024 15:28:14 +0200 Subject: [PATCH] Changed the PVE 8 upgrade script to actually check the version Changed the pve8-upgrade.sh script to actually check if the version is higher than PVE 7.4-13 --- misc/pve8-upgrade.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/misc/pve8-upgrade.sh b/misc/pve8-upgrade.sh index f4a79136..cb15e63b 100644 --- a/misc/pve8-upgrade.sh +++ b/misc/pve8-upgrade.sh @@ -124,7 +124,7 @@ if ! command -v pveversion >/dev/null 2>&1; then exit fi -if ! pveversion | grep -Eq "pve-manager/(7\.4-(13|14|15|16|17))"; then +if ! pveversion | grep -Eq "pve-manager/(7\.4-(1[3-9]|[2-9]\d))"; then header_info msg_error "This version of Proxmox Virtual Environment is not supported" echo -e " PVE Version 7.4-13 or higher is required."