mirror of
https://github.com/MacRimi/ProxMenux.git
synced 2025-08-26 06:11:15 +00:00
Update disk-passthrough.sh
This commit is contained in:
@@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user