We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c91fc83 commit 2c803f1Copy full SHA for 2c803f1
templates/vm.xml.j2
@@ -39,7 +39,7 @@
39
<source pool='{{ volume.pool }}' volume='{{ volume.name }}'/>
40
{% endif %}
41
{% if volume.target is undefined %}
42
- <target dev='vd{{ 'abcdefghijklmnopqrstuvwxyz'[loop.index - 1] }}' {% if volume.device | default(libvirt_volume_default_device) == 'cdrom' %}bus='sata'{% else %}bus='virtio'{% endif %}/>
+ <target dev='vd{{ 'abcdefghijklmnopqrstuvwxyz'[loop.index - 1] }}' {% if volume.device | default(libvirt_volume_default_device) == 'cdrom' %}bus='sata'{% endif %}/>
43
{% else %}
44
<target dev='{{ volume.target }}' {% if volume.device | default(libvirt_volume_default_device) == 'cdrom' %}bus='sata'{% endif %}/>
45
0 commit comments