Skip to content

Commit

Permalink
Unset lxc.devttydir for userns CentOS
Browse files Browse the repository at this point in the history
Without this, the container entirely fails to start.

Signed-off-by: Stéphane Graber <stgraber@ubuntu.com>
  • Loading branch information
stgraber committed Jan 22, 2014
1 parent 1ecee40 commit 2138498
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config/templates/centos.userns.conf.in
Expand Up @@ -4,7 +4,7 @@ lxc.cgroup.devices.deny =
lxc.cgroup.devices.allow =

# We can't move bind-mounts, so don't use /dev/lxc/
# lxc.devttydir =
lxc.devttydir =

# Extra bind-mounts for userns
lxc.mount.entry = /dev/console dev/console none bind,create=file 0 0
Expand Down

0 comments on commit 2138498

Please sign in to comment.