From 5da91a68bdce4f757be4686969a713cfbf29cd47 Mon Sep 17 00:00:00 2001 From: "Michael N. Lipp" Date: Thu, 8 Jun 2023 21:43:11 +0200 Subject: [PATCH] Make more than one CD drive work. --- .../templates/Standard-VM-latest.ftl.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/org.jdrupes.vmoperator.runner.qemu/templates/Standard-VM-latest.ftl.yaml b/org.jdrupes.vmoperator.runner.qemu/templates/Standard-VM-latest.ftl.yaml index f2fc7c1..eb554c6 100644 --- a/org.jdrupes.vmoperator.runner.qemu/templates/Standard-VM-latest.ftl.yaml +++ b/org.jdrupes.vmoperator.runner.qemu/templates/Standard-VM-latest.ftl.yaml @@ -143,7 +143,8 @@ <#if drive.file??>,file=${ drive.file }" ] # (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 }" ] <#assign cdCounter += 1/>