1
0
mirror of https://github.com/tteck/Proxmox.git synced 2024-12-25 10:42:53 +02:00

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

View File

@ -124,10 +124,10 @@ 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-(16|17|18|19))"; 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 " PVE Version 7.4-16 or higher is required."
echo -e "\nExiting..."
sleep 3
exit