]> git.ipfire.org Git - thirdparty/lxc.git/commitdiff
Add the pts configuration for lxc-debian lxc_0_6_0
authordlezcano <dlezcano>
Fri, 20 Feb 2009 14:13:37 +0000 (14:13 +0000)
committerdlezcano <dlezcano>
Fri, 20 Feb 2009 14:13:37 +0000 (14:13 +0000)
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>
scripts/lxc-debian.in

index f0d57620b945e34c7cc2201d371e350fba745fc3..d2283863f73247c57dcfbddbdbb5b091c798b92d 100755 (executable)
@@ -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