]> git.proxmox.com Git - mirror_lxc.git/blame - config/templates/gentoo.common.conf.in
confile: rename lxc.devttydir to lxc.tty.dir
[mirror_lxc.git] / config / templates / gentoo.common.conf.in
CommitLineData
5b99af00
SG
1# This derives from the global common config
2lxc.include = @LXCTEMPLATECONFIG@/common.conf
3
cae3584e 4# Gentoo common default configuration
5# This is the most feature-full container configuration
6# But security is not the goal.
60838413 7# Looking for more security, see gentoo.moresecure.conf
cae3584e 8
5b99af00 9# Doesn't support consoles in /dev/lxc/
42e53c29 10lxc.tty.dir =
cae3584e 11
5b99af00 12# Extra cgroup device access
cae3584e 13## rtc
14lxc.cgroup.devices.allow = c 254:0 rm
cae3584e 15## tun
16lxc.cgroup.devices.allow = c 10:200 rwm
cae3584e 17## hpet
18lxc.cgroup.devices.allow = c 10:228 rwm
19## kvm
20lxc.cgroup.devices.allow = c 10:232 rwm
21## To use loop devices, copy the following line to the container's
22## configuration file (uncommented).
5b99af00 23#lxc.cgroup.devices.allow = b 7:* rwm
7ed54c61
MC
24
25# /dev/shm needs to be mounted as tmpfs. It's needed by python (bug #496328)
26# and possibly other packages.
27lxc.mount.entry = none dev/shm tmpfs rw,nosuid,nodev,create=dir