1
0
mirror of https://github.com/tteck/Proxmox.git synced 2024-12-25 10:42:53 +02:00

Update mikrotik-routeros.sh

version 7.10.2
PVE 8
This commit is contained in:
tteckster 2023-07-25 06:57:00 -04:00 committed by GitHub
parent 75635418d2
commit dfb6ca572b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -62,9 +62,9 @@ function cleanup() {
}
TEMP_DIR=$(mktemp -d)
pushd $TEMP_DIR >/dev/null
if [ $(pveversion | grep "pve-manager/7" | wc -l) -ne 1 ]; then
if ! pveversion | grep -Eq "pve-manager/(7\.[2-9]|8\.[0-9])"; then
echo "⚠ This version of Proxmox Virtual Environment is not supported"
echo "Requires PVE Version: 7.XX"
echo -e "Requires PVE Version 7.2 or higher"
echo "Exiting..."
sleep 3
exit
@ -234,7 +234,7 @@ msg_ok "Using ${CL}${BL}$STORAGE${CL} ${GN}for Storage Location."
msg_ok "Virtual Machine ID is ${CL}${BL}$VMID${CL}."
msg_info "Getting URL for Mikrotik RouterOS Disk Image"
URL=https://download.mikrotik.com/routeros/7.7/install-image-7.7.zip
URL=https://download.mikrotik.com/routeros/7.10.2/install-image-7.10.2.zip
sleep 2
msg_ok "${CL}${BL}${URL}${CL}"