From dafe17ac953fc38cfc855b57a71ade36ae9f3881 Mon Sep 17 00:00:00 2001 From: Matt Alexander Date: Fri, 21 Jun 2024 17:08:46 -0700 Subject: [PATCH] Fix mikrotik-routeros when using nfs (#3247) --- vm/mikrotik-routeros.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/vm/mikrotik-routeros.sh b/vm/mikrotik-routeros.sh index 15e702f5..af4fd0c2 100644 --- a/vm/mikrotik-routeros.sh +++ b/vm/mikrotik-routeros.sh @@ -254,13 +254,12 @@ nfs | dir) btrfs | zfspool) DISK_EXT="" DISK_REF="$VMID/" - DISK_FORMAT="subvol" DISK_IMPORT="-format raw" ;; esac DISK_VAR="vm-${VMID}-disk-0${DISK_EXT:-}" -DISK_REF="${STORAGE}:${DISK_VAR:-}" +DISK_REF="${STORAGE}:${DISK_REF:-}${DISK_VAR:-}" msg_ok "Extracted Mikrotik RouterOS CHR Disk Image" msg_info "Creating Mikrotik RouterOS CHR VM"