feat(routeros): be able to start the script on PVE 8.2.2

This commit is contained in:
Tchoupinax 2024-04-27 16:03:04 +02:00
parent 0ea0ee56f4
commit 97c7aee037

View file

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