File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change 43
43
<emulator >{{ libvirt_vm_emulator }}</emulator >
44
44
{% for volume in volumes %}
45
45
<disk type =' {{ volume.type | default(libvirt_volume_default_type) }}' device =' {{ volume.device | default(libvirt_volume_default_device) }}' >
46
- <driver name =' qemu' type =' {{ volume.format | default(libvirt_volume_default_format) }}' />
46
+ <driver name =' qemu' type =' {{ volume.format | default(libvirt_volume_default_format) }}' {% if volume.discard is defined %} discard = ' {{ volume.discard }} ' {% endif %} />
47
47
{% if volume .type | default (libvirt_volume_default_type ) == 'file' %}
48
48
<source file =' {{ volume.file_path |default(libvirt_volume_default_images_path) }}/{{ volume.name}}' />
49
49
{% elif volume .type | default (libvirt_volume_default_type ) == 'network' %}
You can’t perform that action at this time.
0 commit comments