stackhpc / ansible-role-libvirt-vm

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

Allow to manually set volume target, thereby influence bus #40

Closed t2d closed 4 years ago

t2d commented 4 years ago

The optional bus attribute specifies the type of disk device to emulate; possible values are driver specific, with typical values being "ide", "scsi", "virtio", "xen", "usb", "sata", or "sd" "sd" since 1.1.2. If omitted, the bus type is inferred from the style of the device name (e.g. a device named 'sda' will typically be exported using a SCSI bus). https://libvirt.org/formatdomain.html#elementsDisks

t2d commented 4 years ago

The debian installer does not detect CDROM drive on virtio bus. Also, an example for cdrom was missing.