Created
September 19, 2019 20:33
-
-
Save Cactus64k/e6af9c3dabff9354d8226d8b3ef2be92 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Template used to create this container: /usr/share/lxc/templates/lxc-debian | |
# Parameters passed to the template: | |
# 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) | |
#lxc.net.0.type = empty | |
lxc.apparmor.profile = generated | |
lxc.apparmor.allow_nesting = 1 | |
lxc.rootfs.path = dir:/var/lib/lxc/debian-container/rootfs | |
# Common configuration | |
lxc.include = /usr/share/lxc/config/debian.common.conf | |
# Container specific configuration | |
lxc.tty.max = 4 | |
lxc.uts.name = debian-container | |
lxc.arch = amd64 | |
lxc.pty.max = 1024 | |
lxc.cgroup.memory.limit_in_bytes = 256M | |
lxc.cgroup.cpuset.cpus = 0,1 | |
lxc.net.0.type = veth | |
lxc.net.0.flags = up | |
lxc.net.0.name = eth0 | |
lxc.net.0.veth.pair = veth0 | |
lxc.net.0.ipv4.address = 10.10.2.2/24 10.10.2.255 | |
lxc.net.0.ipv4.gateway = 10.10.2.1 | |
#lxc.net.0.hwaddr = 0D:1E:2A:3D:40:50 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment