Update disk.sh
This commit is contained in:
parent
0a3d6d2868
commit
135709cef9
1 changed files with 1 additions and 1 deletions
|
|
@ -360,7 +360,7 @@ createDevice () {
|
||||||
;;
|
;;
|
||||||
"ide" )
|
"ide" )
|
||||||
result="$result \
|
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"
|
echo "$result"
|
||||||
;;
|
;;
|
||||||
"blk" | "virtio-blk" )
|
"blk" | "virtio-blk" )
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue