Make more than one CD drive work.

This commit is contained in:
Michael Lipp 2023-06-08 21:43:11 +02:00
parent 72361f4171
commit 5da91a68bd

View file

@ -143,7 +143,8 @@
<#if drive.file??>,file=${ drive.file }</#if>" ]
# (IDE is old, but faster than usb-storage. virtio-blk-pci does not
# 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>" ]
<#assign cdCounter += 1/>
</#if>