Update disk-passthrough.sh

This commit is contained in:
MacRimi 2025-02-03 23:39:58 +01:00 committed by GitHub
parent 2fda3afe9b
commit e377a04d0e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -111,7 +111,7 @@ if [ "$VM_STATUS" == "running" ]; then
exit 1 exit 1
fi fi
msg_info "$(translate "Detecting available disks...")" msg_info2 "$(translate "Detecting available disks...")"
# Detect free disks, excluding the system disk and those already assigned to the selected VM # Detect free disks, excluding the system disk and those already assigned to the selected VM
FREE_DISKS=() FREE_DISKS=()
@ -173,7 +173,7 @@ DISKS_ADDED=0
ERROR_MESSAGES="" ERROR_MESSAGES=""
SUCCESS_MESSAGES="" SUCCESS_MESSAGES=""
msg_info "$(translate "Processing selected disks...")" msg_info2 "$(translate "Processing selected disks...")"
for DISK in $SELECTED; do for DISK in $SELECTED; do
DISK=$(echo "$DISK" | tr -d '"') DISK=$(echo "$DISK" | tr -d '"')