Update VMs

- The scripts will only work with PVE versions 7.4-13 or higher.
This commit is contained in:
tteckster 2024-02-06 05:42:54 -05:00 committed by GitHub
parent a1deedd066
commit e0f8e23fd7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
8 changed files with 16 additions and 16 deletions

View file

@ -62,9 +62,9 @@ function cleanup() {
}
TEMP_DIR=$(mktemp -d)
pushd $TEMP_DIR >/dev/null
if ! pveversion | grep -Eq "pve-manager/(7\.[2-9]|8\.[0-9])"; then
if ! pveversion | grep -Eq "pve-manager/(7.4-[1][3-9]|8.1.[1-9])"; then
echo "⚠ This version of Proxmox Virtual Environment is not supported"
echo -e "Requires PVE Version 7.2 or higher"
echo -e "Requires PVE Version 7.4-13 or higher"
echo "Exiting..."
sleep 3
exit