Update pve8-upgrade.sh

work with 7.4-14
This commit is contained in:
tteckster 2023-06-20 19:37:22 -04:00 committed by GitHub
parent 7eba5494ea
commit 4fc26a08d8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -179,7 +179,7 @@ if ! command -v pveversion >/dev/null 2>&1; then
exit
fi
if [ $(pveversion | grep "pve-manager/7.4-13" | wc -l) -ne 1 ]; then
if [ $(pveversion | grep -E "pve-manager/(7.4-13|7.4-14)" | wc -l) -ne 1 ]; then
header_info
msg_error "This version of Proxmox Virtual Environment is not supported"
echo -e " Requires PVE Version: 7.4-13"