-
-
Save recampbell/ef745c03d5502e601b2b to your computer and use it in GitHub Desktop.
lxc.conf
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
lxc.utsname = default | |
lxc.tty = 4 | |
lxc.network.type = veth | |
lxc.network.flags = up | |
lxc.network.link = virbr0 | |
lxc.network.name = eth0 | |
lxc.network.ipv4 = 192.168.122.2 | |
lxc.network.mtu = 1500 | |
lxc.rootfs = /var/lib/lxc/rootfs/default | |
lxc.mount = /var/lib/lxc/default/mount.conf | |
lxc.mount.entry = /tmp/foo /var/lib/lxc/rootfs/default/mnt/master2 none bind 0 0 | |
lxc.cgroup.devices.deny = a | |
# /dev/null and zero | |
lxc.cgroup.devices.allow = c 1:3 rwm | |
lxc.cgroup.devices.allow = c 1:5 rwm | |
# consoles | |
lxc.cgroup.devices.allow = c 5:1 rwm | |
lxc.cgroup.devices.allow = c 5:0 rwm | |
lxc.cgroup.devices.allow = c 4:0 rwm | |
lxc.cgroup.devices.allow = c 4:1 rwm | |
# /dev/{,u}random | |
lxc.cgroup.devices.allow = c 1:9 rwm | |
lxc.cgroup.devices.allow = c 1:8 rwm | |
# /dev/pts/* - pts namespaces are "coming soon" | |
lxc.cgroup.devices.allow = c 136:* rwm | |
lxc.cgroup.devices.allow = c 5:2 rwm | |
# rtc | |
lxc.cgroup.devices.allow = c 254:0 rwm |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment