/[sysadmin-cookbook]/recepies/lxc/ve2lxc.conf
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Contents of /recepies/lxc/ve2lxc.conf

Parent Directory Parent Directory | Revision Log Revision Log


Revision 86 - (show annotations)
Sun May 17 20:54:48 2009 UTC (13 years, 1 month ago) by dpavlin
File size: 745 byte(s)
convert OpenVZ container to LXC

1 #lxc.utsname = $UTSNAME
2 lxc.utsname = ve2lxc
3 lxc.tty = 4
4 lxc.pts = 1024
5 lxc.network.type = veth
6 lxc.network.flags = up
7 lxc.network.link = br0
8 lxc.network.name = eth0
9 lxc.network.mtu = 1500
10 #lxc.mount = $MNTFILE
11 #lxc.rootfs = /mlin/clone/212226-60017
12 lxc.cgroup.devices.deny = a
13 # /dev/null and zero
14 lxc.cgroup.devices.allow = c 1:3 rwm
15 lxc.cgroup.devices.allow = c 1:5 rwm
16 # consoles
17 lxc.cgroup.devices.allow = c 5:1 rwm
18 lxc.cgroup.devices.allow = c 5:0 rwm
19 lxc.cgroup.devices.allow = c 4:0 rwm
20 lxc.cgroup.devices.allow = c 4:1 rwm
21 # /dev/{,u}random
22 lxc.cgroup.devices.allow = c 1:9 rwm
23 lxc.cgroup.devices.allow = c 1:8 rwm
24 lxc.cgroup.devices.allow = c 136:* rwm
25 lxc.cgroup.devices.allow = c 5:2 rwm
26 # rtc
27 lxc.cgroup.devices.allow = c 254:0 rwm

  ViewVC Help
Powered by ViewVC 1.1.26