1
0
Fork 0
mirror of https://github.com/tteck/Proxmox.git synced 2025-02-15 06:09:15 +01:00

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
This commit is contained in:
Palette 2024-05-17 15:28:14 +02:00 committed by GitHub
parent 26ba9ea323
commit d00fc42de2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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."