Make more than one CD drive work.
This commit is contained in:
parent
72361f4171
commit
5da91a68bd
1 changed files with 2 additions and 1 deletions
|
|
@ -143,7 +143,8 @@
|
||||||
<#if drive.file??>,file=${ drive.file }</#if>" ]
|
<#if drive.file??>,file=${ drive.file }</#if>" ]
|
||||||
# (IDE is old, but faster than usb-storage. virtio-blk-pci does not
|
# (IDE is old, but faster than usb-storage. virtio-blk-pci does not
|
||||||
# work without file [empty drive])
|
# work without file [empty drive])
|
||||||
- [ "-device", "ide-cd,id=cd${ cdCounter },drive=drive-cdrom${ cdCounter }\
|
- [ "-device", "ide-cd,id=cd${ cdCounter },bus=ide.${ cdCounter },\
|
||||||
|
drive=drive-cdrom${ cdCounter }\
|
||||||
<#if drive.bootindex??>,bootindex=${ drive.bootindex }</#if>" ]
|
<#if drive.bootindex??>,bootindex=${ drive.bootindex }</#if>" ]
|
||||||
<#assign cdCounter += 1/>
|
<#assign cdCounter += 1/>
|
||||||
</#if>
|
</#if>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue