Skip to content

Commit

Permalink
remove mountcgroup hook entirely
Browse files Browse the repository at this point in the history
Also fix the comment in lxc-cirros template (which I overlooked last time).

Signed-off-by: Serge Hallyn <serge.hallyn@ubuntu.com>
Acked-by: Stéphane Graber <stgraber@ubuntu.com>
  • Loading branch information
hallyn authored and stgraber committed Jul 18, 2014
1 parent 1e5be81 commit d21bbd9
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 71 deletions.
1 change: 0 additions & 1 deletion hooks/Makefile.am
Expand Up @@ -2,7 +2,6 @@ hooksdir=@LXCHOOKDIR@

hooks_SCRIPTS = \
clonehostname \
mountcgroups \
mountecryptfsroot \
ubuntu-cloud-prep \
squid-deb-proxy-client
Expand Down
69 changes: 0 additions & 69 deletions hooks/mountcgroups

This file was deleted.

2 changes: 1 addition & 1 deletion templates/lxc-cirros.in
Expand Up @@ -121,7 +121,7 @@ lxc.cap.drop = sys_module mac_admin mac_override sys_time
#lxc.aa_profile = unconfined
# To support container nesting on an Ubuntu host, uncomment next two lines:
#lxc.aa_profile = lxc-container-default-with-nesting
#lxc.hook.mount = /usr/share/lxc/hooks/mountcgroups
#lxc.mount.auto = cgroup
lxc.cgroup.devices.deny = a
# Allow any mknod (but not using the node)
Expand Down

0 comments on commit d21bbd9

Please sign in to comment.