Commit 1e648e65 by dlezcano

Add the pts configuration for lxc-debian

From: Daniel Lezcano <dlezcano@fr.ibm.com> Add the pts configuration when creating a debian container. Signed-off-by: 's avatarDaniel Lezcano <dlezcano@fr.ibm.com>
parent cb698658
...@@ -127,6 +127,7 @@ write_lxc_configuration() { ...@@ -127,6 +127,7 @@ write_lxc_configuration() {
cat <<EOF > $CONFFILE cat <<EOF > $CONFFILE
lxc.utsname = $UTSNAME lxc.utsname = $UTSNAME
lxc.tty = 4 lxc.tty = 4
lxc.pts = 1024
lxc.network.type = veth lxc.network.type = veth
lxc.network.flags = up lxc.network.flags = up
lxc.network.link = br0 lxc.network.link = br0
...@@ -145,7 +146,6 @@ lxc.cgroup.devices.allow = c 4:1 rwm ...@@ -145,7 +146,6 @@ lxc.cgroup.devices.allow = c 4:1 rwm
# /dev/{,u}random # /dev/{,u}random
lxc.cgroup.devices.allow = c 1:9 rwm lxc.cgroup.devices.allow = c 1:9 rwm
lxc.cgroup.devices.allow = c 1:8 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 136:* rwm
lxc.cgroup.devices.allow = c 5:2 rwm lxc.cgroup.devices.allow = c 5:2 rwm
# rtc # rtc
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment