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 4343 <emulator >{{ libvirt_vm_emulator }}</emulator >
4444{% for volume in volumes %}
4545 <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 %} />
4747 {% if volume .type | default (libvirt_volume_default_type ) == 'file' %}
4848 <source file =' {{ volume.file_path |default(libvirt_volume_default_images_path) }}/{{ volume.name}}' />
4949 {% elif volume .type | default (libvirt_volume_default_type ) == 'network' %}
You can’t perform that action at this time.
0 commit comments