Skip to content

Commit

Permalink
Update disk.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
kroese authored Nov 18, 2024
1 parent b35323c commit 15598eb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/disk.sh
Original file line number Diff line number Diff line change
Expand Up @@ -376,7 +376,7 @@ createDevice () {
result+=",if=none \
-device nvme,drive=${DISK_ID}${index},serial=deadbeaf${DISK_INDEX}"
echo "$result"
;;
;;
"ide" | "sata" )
result+=",if=none \
-device ich9-ahci,id=ahci${DISK_INDEX},addr=$DISK_ADDRESS \
Expand Down Expand Up @@ -553,7 +553,7 @@ if [[ "${MACHINE,,}" != "virt" ]]; then
else
FALLBACK="usb"
fi

[[ "${BOOT_MODE:-}" == "windows_legacy" ]] && FALLBACK="auto"

if [ -z "${MEDIA_TYPE:-}" ]; then
Expand Down

0 comments on commit 15598eb

Please sign in to comment.