aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordlezcano <dlezcano>2009-02-20 14:13:37 +0000
committerdlezcano <dlezcano>2009-02-20 14:13:37 +0000
commit1e648e6539252c9c12840877bd2f716cd302da49 (patch)
treead19c89f772302f21f4caeb119fb55f39bef2130
parentAdd missing files to CVS (diff)
downloadlxc-1e648e6539252c9c12840877bd2f716cd302da49.tar.gz
lxc-1e648e6539252c9c12840877bd2f716cd302da49.tar.bz2
lxc-1e648e6539252c9c12840877bd2f716cd302da49.zip
Add the pts configuration for lxc-debianlxc_0_6_0
From: Daniel Lezcano <dlezcano@fr.ibm.com> Add the pts configuration when creating a debian container. Signed-off-by: Daniel Lezcano <dlezcano@fr.ibm.com>
-rwxr-xr-xscripts/lxc-debian.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/lxc-debian.in b/scripts/lxc-debian.in
index f0d5762..d228386 100755
--- a/scripts/lxc-debian.in
+++ b/scripts/lxc-debian.in
@@ -127,6 +127,7 @@ write_lxc_configuration() {
cat <<EOF > $CONFFILE
lxc.utsname = $UTSNAME
lxc.tty = 4
+lxc.pts = 1024
lxc.network.type = veth
lxc.network.flags = up
lxc.network.link = br0
@@ -145,7 +146,6 @@ lxc.cgroup.devices.allow = c 4:1 rwm
# /dev/{,u}random
lxc.cgroup.devices.allow = c 1:9 rwm
lxc.cgroup.devices.allow = c 1:8 rwm
-# /dev/pts/* - pts namespaces are "coming soon"
lxc.cgroup.devices.allow = c 136:* rwm
lxc.cgroup.devices.allow = c 5:2 rwm
# rtc