6a1cc727bd
iteritems is a py2 callable and will break when using py3. Change-Id: I8f1909a7537cac0cab307becfb872b2b4cf179dd Signed-off-by: Kevin Carter <kevin.carter@rackspace.com>
23 lines
591 B
Django/Jinja
23 lines
591 B
Django/Jinja
# {{ ansible_managed }}
|
|
|
|
{% if nova_network_type == 'calico' %}
|
|
# Calico specific qemu settings
|
|
# Information available at:
|
|
# http://docs.projectcalico.org/en/latest/ubuntu-opens-install.html
|
|
clear_emulator_capabilities = 0
|
|
user = "root"
|
|
group = "root"
|
|
cgroup_device_acl = [
|
|
"/dev/null", "/dev/full", "/dev/zero",
|
|
"/dev/random", "/dev/urandom",
|
|
"/dev/ptmx", "/dev/kvm", "/dev/kqemu",
|
|
"/dev/rtc", "/dev/hpet", "/dev/net/tun",
|
|
]
|
|
{% endif %}
|
|
|
|
{% if qemu_conf_dict is defined %}
|
|
{% for key, value in qemu_conf_dict.items() %}
|
|
{{ key }} = {{ value }}
|
|
{% endfor %}
|
|
{% endif %}
|