tteck / Proxmox

Proxmox VE Helper-Scripts
https://Helper-Scripts.com
MIT License
11.68k stars 1.81k forks source link

Fix mikrotik-routeros when using nfs #3247

Closed rendil closed 1 week ago

rendil commented 1 week ago

I wanted to make you aware that I am meticulous when it comes to merging code into the main branch, so please don't take it personally if I reject your request.

Description

When using NFS as the storage option, the mikrotik-routeros script currently fails.

Screenshot of failure: Screenshot 2024-06-21 at 4 57 09 PM

I compared this script against several others in the vm/ directory and noticed that this one was not including the $VMID/ portion in its $DISK_REF. Adding it in fixes the error I was running into: Screenshot 2024-06-21 at 4 57 49 PM

Type of change

Please delete options that are not relevant.