From 135709cef919ea35d7b087abe580b5137abf53bc Mon Sep 17 00:00:00 2001 From: Kroese Date: Tue, 21 May 2024 06:50:38 +0200 Subject: [PATCH] Update disk.sh --- src/disk.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/disk.sh b/src/disk.sh index 808c292..fb7741b 100644 --- a/src/disk.sh +++ b/src/disk.sh @@ -360,7 +360,7 @@ createDevice () { ;; "ide" ) result="$result \ - -device ide-hd,drive=$DISK_ID,bus=ide.2,rotation_rate=$DISK_ROTATION,bootindex=$DISK_INDEX" + -device ide-hd,drive=$DISK_ID,bus=ide.$DISK_INDEX,rotation_rate=$DISK_ROTATION,bootindex=$DISK_INDEX" echo "$result" ;; "blk" | "virtio-blk" )