Update pve8-upgrade.sh

fix version check
This commit is contained in:
tteckster 2024-05-17 09:56:31 -04:00 committed by GitHub
parent 26ba9ea323
commit 990e299b35
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 2 deletions

View File

@ -124,10 +124,10 @@ if ! command -v pveversion >/dev/null 2>&1; then
exit exit
fi fi
if ! pveversion | grep -Eq "pve-manager/(7\.4-(13|14|15|16|17))"; then if ! pveversion | grep -Eq "pve-manager/(7\.4-(16|17|18|19))"; then
header_info header_info
msg_error "This version of Proxmox Virtual Environment is not supported" msg_error "This version of Proxmox Virtual Environment is not supported"
echo -e " PVE Version 7.4-13 or higher is required." echo -e " PVE Version 7.4-16 or higher is required."
echo -e "\nExiting..." echo -e "\nExiting..."
sleep 3 sleep 3
exit exit