mirror of
https://github.com/MacRimi/ProxMenux.git
synced 2025-06-28 04:06:54 +00:00
Update disk-passthrough.sh
This commit is contained in:
parent
15ecacd251
commit
7c839da452
@ -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
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user