Fix qemu_conf_dict not defined

When using nova_network_type=calico without other qemu_conf_dict
overrides defined, the template fails because qemu_conf_dict is
not defined.

Change-Id: Icf8c6b7b70a270b867b250b83bf9ab42b05a154d
This commit is contained in:
Logan V 2016-11-12 19:05:02 -06:00
parent c39e415b5e
commit fcb78e166b

View File

@ -15,6 +15,8 @@ cgroup_device_acl = [
]
{% endif %}
{% if qemu_conf_dict is defined %}
{% for key, value in qemu_conf_dict.iteritems() %}
{{ key }} = {{ value }}
{% endfor %}
{% endif %}