stackhpc / ansible-role-libvirt-vm

This role configures and creates VMs on a KVM hypervisor.
128 stars 67 forks source link

CDROM devices backed by volumes broken in v1.8.0 #45

Closed markgoddard closed 4 years ago

markgoddard commented 4 years ago

PR #37 added support for booting from a CDROM. It also made volume creation dependent upon the device being disk. However, this breaks CDROM devices which use a volume, e.g.

    <disk type='volume' device='cdrom'>
      <driver name='qemu' type='raw'/>
      <source pool='default' volume='seed-configdrive'/>
      <target dev='vdc' bus='virtio'/>
      <readonly/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x06' function='0x0'/>
    </disk>