From 0e69a192208b409d7e49c3c78b6721b0b4c7fc2b Mon Sep 17 00:00:00 2001 From: Kroese Date: Wed, 2 Oct 2024 13:11:11 +0200 Subject: [PATCH] fix: Remove scsi parameter from virtio-blk-pci (#89) --- src/boot.sh | 2 +- src/install.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/boot.sh b/src/boot.sh index 3a11728..190ca14 100644 --- a/src/boot.sh +++ b/src/boot.sh @@ -81,7 +81,7 @@ if [ ! -f "$BOOT_DRIVE" ] || [ ! -s "$BOOT_DRIVE" ]; then echo "$BOOT_SIZE" > "$BOOT_VERSION" fi -DISK_OPTS+=" -device virtio-blk-pci,drive=${BOOT_DRIVE_ID},scsi=off,bus=pcie.0,addr=0x5,bootindex=$BOOT_INDEX" +DISK_OPTS+=" -device virtio-blk-pci,drive=${BOOT_DRIVE_ID},bus=pcie.0,addr=0x5,bootindex=$BOOT_INDEX" DISK_OPTS+=" -drive file=$BOOT_DRIVE,id=$BOOT_DRIVE_ID,format=raw,cache=unsafe,readonly=on,if=none" CPU_VENDOR=$(lscpu | awk '/Vendor ID/{print $3}') diff --git a/src/install.sh b/src/install.sh index cec9df6..1528f2a 100644 --- a/src/install.sh +++ b/src/install.sh @@ -82,7 +82,7 @@ if [ "$VERSION" != "$STORED_VERSION" ]; then fi fi -DISK_OPTS="-device virtio-blk-pci,drive=${BASE_IMG_ID},scsi=off,bus=pcie.0,addr=0x6" +DISK_OPTS="-device virtio-blk-pci,drive=${BASE_IMG_ID},bus=pcie.0,addr=0x6" DISK_OPTS+=" -drive file=$BASE_IMG,id=$BASE_IMG_ID,format=dmg,cache=unsafe,readonly=on,if=none" return 0