diff --git a/vm/mikrotik-routeros.sh b/vm/mikrotik-routeros.sh index ffe43608..93ca5403 100644 --- a/vm/mikrotik-routeros.sh +++ b/vm/mikrotik-routeros.sh @@ -251,11 +251,16 @@ nfs | dir) DISK_REF="$VMID/" DISK_IMPORT="-format qcow2" ;; -btrfs | zfspool) - DISK_EXT="" +btrfs) + DISK_EXT=".raw" DISK_REF="$VMID/" DISK_IMPORT="-format raw" ;; +zfspool) + DISK_EXT="" + DISK_REF="" + DISK_IMPORT="-format raw" + ;; esac DISK_VAR="vm-${VMID}-disk-0${DISK_EXT:-}"