aboutsummaryrefslogtreecommitdiff
path: root/ansible/roles/nova-cell/templates/nova.conf.d/libvirt.conf.j2
diff options
context:
space:
mode:
Diffstat (limited to 'ansible/roles/nova-cell/templates/nova.conf.d/libvirt.conf.j2')
-rw-r--r--ansible/roles/nova-cell/templates/nova.conf.d/libvirt.conf.j24
1 files changed, 2 insertions, 2 deletions
diff --git a/ansible/roles/nova-cell/templates/nova.conf.d/libvirt.conf.j2 b/ansible/roles/nova-cell/templates/nova.conf.d/libvirt.conf.j2
index 87e0bf977..2661bf433 100644
--- a/ansible/roles/nova-cell/templates/nova.conf.d/libvirt.conf.j2
+++ b/ansible/roles/nova-cell/templates/nova.conf.d/libvirt.conf.j2
@@ -13,9 +13,9 @@ images_rbd_pool = {{ nova_cell_ceph_backend['vms']['pool'] }}
images_rbd_ceph_conf = /etc/ceph/{{ nova_cell_ceph_backend['cluster'] }}.conf
rbd_user = {{ nova_cell_ceph_backend['vms']['user'] }}
disk_cachemodes="network=writeback"
-{% if nova_hw_disk_discard != '' %}
+{% if nova_hw_disk_discard != '' %}
hw_disk_discard = {{ nova_hw_disk_discard }}
-{% endif %}
+{% endif %}
{% endif %}
{% if nova_backend == "rbd" and external_ceph_cephx_enabled | bool %}
rbd_secret_uuid = {{ rbd_secret_uuid }}