From 14e4c5662544018e1b02fee50e60a1113ecd513f Mon Sep 17 00:00:00 2001 From: TJ Computer Services Date: Tue, 26 Nov 2024 11:52:28 +0000 Subject: [PATCH] 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. --- vm/mikrotik-routeros.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vm/mikrotik-routeros.sh b/vm/mikrotik-routeros.sh index ffe43608..047a90be 100644 --- a/vm/mikrotik-routeros.sh +++ b/vm/mikrotik-routeros.sh @@ -251,7 +251,7 @@ nfs | dir) DISK_REF="$VMID/" DISK_IMPORT="-format qcow2" ;; -btrfs | zfspool) +btrfs) DISK_EXT="" DISK_REF="$VMID/" DISK_IMPORT="-format raw"