syscom-dev-environment/localhost/templates/lxc_config.j2

25 lines
792 B
Django/Jinja

# Template used to create this container: /usr/share/lxc/templates/lxc-download
# Parameters passed to the template: -d debian -r buster -a amd64
# For additional config options, please look at lxc.container.conf(5)
# Uncomment the following line to support nesting containers:
#lxc.include = /usr/share/lxc/config/nesting.conf
# (Be aware this has security implications)
# Distribution configuration
lxc.include = /usr/share/lxc/config/common.conf
lxc.arch = linux64
# Container specific configuration
lxc.rootfs.path = dir:/var/lib/lxc/{{ name }}/rootfs
lxc.uts.name = {{ name }}
lxc.apparmor.profile = lxc-container-default-with-nfs
lxc.start.auto = 1
# Network configuration
lxc.net.0.type = veth
lxc.net.0.link = {{ link }}
lxc.net.0.flags = up
lxc.net.0.hwaddr = 00:16:3e:xx:xx:xx