Files
ansible-fet/roles/ariane/templates/lxc.j2
Daniel A. Maierhofer 013e945d2d Improve lxc config
2018-03-16 17:53:25 +01:00

20 lines
463 B
Django/Jinja

# {{ ansible_managed }}
lxc.network.type = veth
lxc.network.link = br0
lxc.network.flags = up
lxc.network.hwaddr = {{ item.hwaddr }}
lxc.aa_profile = unconfined
lxc.rootfs = /var/lib/lxc/lxc-{{ item.name }}-{{ item.revision }}/rootfs
lxc.rootfs.backend = dir
lxc.include = /usr/share/lxc/config/{{ item.template }}.common.conf
lxc.utsname = lxc-{{ item.name }}-{{ item.revision }}
lxc.arch = amd64
{% if item.extra is defined %}
{{ item.extra }}
{% endif %}