]>
Commit | Line | Data |
---|---|---|
5b99af00 SG |
1 | # This derives from the global common config |
2 | lxc.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 SG |
9 | # Doesn't support consoles in /dev/lxc/ |
10 | lxc.devttydir = | |
cae3584e | 11 | |
5b99af00 | 12 | # Extra cgroup device access |
cae3584e | 13 | ## rtc |
14 | lxc.cgroup.devices.allow = c 254:0 rm | |
cae3584e | 15 | ## tun |
16 | lxc.cgroup.devices.allow = c 10:200 rwm | |
cae3584e | 17 | ## hpet |
18 | lxc.cgroup.devices.allow = c 10:228 rwm | |
19 | ## kvm | |
20 | lxc.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. | |
27 | lxc.mount.entry = none dev/shm tmpfs rw,nosuid,nodev,create=dir |