Update disk.sh

This commit is contained in:
Kroese 2024-05-21 06:45:00 +02:00 committed by GitHub
parent 4d01f749c0
commit ddf0af8711
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -366,7 +366,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" )