From 3624b67302001f29d7284e7ee9cd87412caf4134 Mon Sep 17 00:00:00 2001 From: tteckster Date: Thu, 22 Jun 2023 16:32:58 -0400 Subject: [PATCH] Update pve8-upgrade.sh add check for PVE Version 7.4-13 or higher --- misc/pve8-upgrade.sh | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/misc/pve8-upgrade.sh b/misc/pve8-upgrade.sh index 7442c799..cca0f041 100644 --- a/misc/pve8-upgrade.sh +++ b/misc/pve8-upgrade.sh @@ -179,4 +179,13 @@ if ! command -v pveversion >/dev/null 2>&1; then exit fi +if ! pveversion | grep -Eq "pve-manager/(7\.4-(13|14|15|16))"; 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." + echo -e "\nExiting..." + sleep 3 + exit +fi + start_routines