Files
openstack-ansible-os_nova/templates/qemu.conf.j2
Logan V 78625038a2 Configure qemu when Calico network type is set
Previously the qemu.conf was being configured by the Calico tasks
in Neutron, which is improper as Neutron is not managing the
libvirt/qemu installation.

Change-Id: Id2cfa3353543fecd55f1135abad89f07071e2f60
2016-09-09 22:14:56 -05:00

21 lines
548 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 %}
{% for key, value in qemu_conf_dict.iteritems() %}
{{ key }} = {{ value }}
{% endfor %}