From 7c839da452a2d7393d20a43c03eae159dde73a4e Mon Sep 17 00:00:00 2001 From: MacRimi Date: Tue, 8 Apr 2025 21:04:43 +0200 Subject: [PATCH] Update disk-passthrough.sh --- scripts/disk-passthrough.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/disk-passthrough.sh b/scripts/disk-passthrough.sh index 336bec5..0ed180e 100644 --- a/scripts/disk-passthrough.sh +++ b/scripts/disk-passthrough.sh @@ -209,7 +209,7 @@ while read -r DISK; do fi - if qm config "$VMID" | grep -q "$DISK"; then + if qm config "$VMID" | grep -vE '^\s*#|^description:' | grep -q "$DISK"; then SHOW_DISK=false fi