mirror of
https://github.com/tteck/Proxmox.git
synced 2024-11-29 18:13:10 +01:00
Update mikrotik-routeros.sh
fix pve check
This commit is contained in:
parent
0ea0ee56f4
commit
a07e2e9dc6
@ -62,7 +62,7 @@ function cleanup() {
|
|||||||
}
|
}
|
||||||
TEMP_DIR=$(mktemp -d)
|
TEMP_DIR=$(mktemp -d)
|
||||||
pushd $TEMP_DIR >/dev/null
|
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-8])|8\.[1-2])"; then
|
||||||
echo "⚠ This version of Proxmox Virtual Environment is not supported"
|
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 -e "Requires PVE7 Version 7.4-13 or later, or PVE8 Version 8.1.1 or later."
|
||||||
echo "Exiting..."
|
echo "Exiting..."
|
||||||
|
Loading…
Reference in New Issue
Block a user