aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSerge E. Hallyn <serge.hallyn@canonical.com>2011-10-24 14:38:30 +0200
committerDaniel Lezcano <daniel.lezcano@free.fr>2011-10-24 14:38:30 +0200
commitb145c6ef5e7959016f54dadc2a92398f7ec684a4 (patch)
treec53c1c1f818cd125d7334238365504be97facd39 /templates
parentAccurately detect whether a system supports clone_children (diff)
downloadlxc-b145c6ef5e7959016f54dadc2a92398f7ec684a4.tar.gz
lxc-b145c6ef5e7959016f54dadc2a92398f7ec684a4.tar.bz2
lxc-b145c6ef5e7959016f54dadc2a92398f7ec684a4.zip
ubuntu template: allow containers to create tap devices
Thought I had sent this before, but I don't find it anywhere. Signed-off-by: Serge Hallyn <serge.hallyn@canonical.com> Signed-off-by: Daniel Lezcano <dlezcano@fr.ibm.com>
Diffstat (limited to 'templates')
-rw-r--r--templates/lxc-ubuntu.in2
1 files changed, 2 insertions, 0 deletions
diff --git a/templates/lxc-ubuntu.in b/templates/lxc-ubuntu.in
index 05d71b9..95b218a 100644
--- a/templates/lxc-ubuntu.in
+++ b/templates/lxc-ubuntu.in
@@ -199,6 +199,8 @@ lxc.cgroup.devices.allow = c 5:2 rwm
lxc.cgroup.devices.allow = c 254:0 rwm
#fuse
lxc.cgroup.devices.allow = c 10:229 rwm
+#tun
+lxc.cgroup.devices.allow = c 10:200 rwm
EOF
cat <<EOF > $path/fstab