lxc-config/default.conf

46 lines
1.5 KiB
Plaintext
Raw Normal View History

2014-08-18 08:29:43 +00:00
lxc.autodev = 1
lxc.kmsg = 0
lxc.cap.drop = sys_module mac_admin mac_override sys_time net_admin
lxc.network.type = veth
lxc.network.link = br0
lxc.network.flags = up
2014-10-23 22:09:01 +00:00
lxc.network.name = eth0
2014-08-18 08:29:43 +00:00
lxc.network.mtu = 1500
2015-01-14 20:29:57 +00:00
lxc.network.ipv4.gateway = 192.168.66.1
2014-08-18 08:29:43 +00:00
lxc.network.ipv6.gateway = 2a01:4f8:210:31fd:1::1
2014-10-23 22:09:01 +00:00
# cgroups
lxc.cgroup.devices.deny = a
lxc.cgroup.devices.allow = c *:* m
lxc.cgroup.devices.allow = b *:* m
lxc.cgroup.devices.allow = c 1:3 rwm
lxc.cgroup.devices.allow = c 1:5 rwm
lxc.cgroup.devices.allow = c 1:7 rwm
lxc.cgroup.devices.allow = c 1:8 rwm
lxc.cgroup.devices.allow = c 1:9 rwm
lxc.cgroup.devices.allow = c 4:1 rwm
lxc.cgroup.devices.allow = c 5:0 rwm
lxc.cgroup.devices.allow = c 5:1 rwm
lxc.cgroup.devices.allow = c 5:2 rwm
lxc.cgroup.devices.allow = c 136:* rwm
lxc.cgroup.memory.soft_limit_in_bytes = 1500M
lxc.cgroup.memory.limit_in_bytes = 2000M
lxc.cgroup.cpu.shares = 256
lxc.cgroup.blkio.weight = 500
2015-01-28 21:22:30 +00:00
lxc.mount.entry = /data/pacman-cache var/cache/pacman/pkg none bind 0 0
lxc.mount.entry = /data/repo srv/repo none bind,ro,create=dir 0 0
2014-08-18 08:29:43 +00:00
lxc.mount.entry = /run/systemd/journal mnt/journal none bind,ro,create=dir 0 0
2015-01-03 16:58:08 +00:00
lxc.hook.autodev = /etc/lxc/hooks/dn42-routes
2014-08-18 08:29:43 +00:00
lxc.hook.clone = /etc/lxc/hooks/setup-machine-id
lxc.hook.clone = /etc/lxc/hooks/remove-journal
lxc.hook.clone = /etc/lxc/hooks/cleanup-lxc-config
lxc.hook.clone = /etc/lxc/hooks/create-lxc-config
lxc.hook.clone = /etc/lxc/hooks/update-zone
2015-01-03 16:55:03 +00:00
lxc.hook.clone = /etc/lxc/hooks/update-hetzner-rdns
2014-08-18 08:29:43 +00:00
lxc.hook.clone = /etc/lxc/hooks/ansible