mirror of
https://github.com/MacRimi/ProxMenux.git
synced 2025-10-02 16:16:19 +00:00
Update disk-passthrough.sh
This commit is contained in:
@@ -209,7 +209,7 @@ while read -r DISK; do
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
||||||
if qm config "$VMID" | grep -q "$DISK"; then
|
if qm config "$VMID" | grep -vE '^\s*#|^description:' | grep -q "$DISK"; then
|
||||||
SHOW_DISK=false
|
SHOW_DISK=false
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user