Created
November 13, 2014 10:35
-
-
Save earnubs/0ff5f1d5da601a605dc0 to your computer and use it in GitHub Desktop.
LXC config
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-ubuntu | |
# Parameters passed to the template: -a amd64 -r trusty -b{$USER} | |
# For additional config options, please look at lxc.container.conf(5) | |
# Autostart a container with name NAME (change this) | |
# Common configuration | |
lxc.include = /usr/share/lxc/config/ubuntu.common.conf | |
# Container specific configuration | |
lxc.rootfs = /var/lib/lxc/LXC-NAME/rootfs | |
lxc.mount = /var/lib/lxc/LXC-NAME/fstab | |
lxc.utsname = LXC-NAME | |
lxc.arch = amd64 | |
lxc.start.auto = 1 | |
lxc.start.delay = 5 | |
# Network configuration | |
lxc.network.type=veth | |
lxc.network.link=br0 | |
lxc.network.flags=up | |
#lxc.network.hwaddr = 00:16:3e:xx:xx:xx | |
lxc.network.type=veth | |
lxc.network.link=br1 | |
lxc.network.flags=up | |
#lxc.network.hwaddr = 00:16:3e:xx:xx:xx |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment