Remove changing DISK_REF for zfspool mikrotik-routeros.sh

When running the original script using zfspool as storage I  got the error:

"unable to parse zfs volume name..."

Removing the part that cchnages the DISK_REF is disk is to be located on a zfspool has solved this.
This commit is contained in:
TJ Computer Services 2024-11-26 11:52:28 +00:00 committed by GitHub
parent a4dd7f5449
commit 14e4c56625
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -251,7 +251,7 @@ nfs | dir)
DISK_REF="$VMID/" DISK_REF="$VMID/"
DISK_IMPORT="-format qcow2" DISK_IMPORT="-format qcow2"
;; ;;
btrfs | zfspool) btrfs)
DISK_EXT="" DISK_EXT=""
DISK_REF="$VMID/" DISK_REF="$VMID/"
DISK_IMPORT="-format raw" DISK_IMPORT="-format raw"