From cb3c820a717d1dbfa87239b992db8b8812789b7e Mon Sep 17 00:00:00 2001 From: Kroese Date: Thu, 16 May 2024 05:16:28 +0200 Subject: [PATCH] feat: Enable CD-ROM on legacy machines --- src/disk.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/disk.sh b/src/disk.sh index aca658cc..ec59f380 100644 --- a/src/disk.sh +++ b/src/disk.sh @@ -26,7 +26,7 @@ DRIVERS="/drivers.iso" [ ! -f "$DRIVERS" ] || [ ! -s "$DRIVERS" ] && DRIVERS="$STORAGE/drivers.iso" [ ! -f "$DRIVERS" ] || [ ! -s "$DRIVERS" ] && DRIVERS="/run/drivers.iso" -if [ -f "$DRIVERS" ] && [[ "${MACHINE,,}" != "pc-q35-2"* ]]; then +if [ -f "$DRIVERS" ]; then DISK_OPTS="$DISK_OPTS -drive id=cdrom1,media=cdrom,if=none,format=raw,readonly=on,file=$DRIVERS" DISK_OPTS="$DISK_OPTS -device ide-cd,drive=cdrom1" fi