]> git.ipfire.org Git - thirdparty/lxc.git/commitdiff
Remove mention of mountcgroups in ubuntu.common config
authorSerge Hallyn <serge.hallyn@ubuntu.com>
Thu, 17 Jul 2014 14:05:35 +0000 (09:05 -0500)
committerSerge Hallyn <serge.hallyn@ubuntu.com>
Thu, 17 Jul 2014 21:39:44 +0000 (16:39 -0500)
That mount hook predates the lxc.mount.auto = cgroup option.  So mention
that instead.

Perhaps we should simply drop the mountcgroup hook from the tree, but
I'm not doing that in this patch.

Signed-off-by: Serge Hallyn <serge.hallyn@ubuntu.com>
config/templates/ubuntu.common.conf.in

index 631b4bb0eb0ebc3206289cb70effbdedb5b8d0e5..19a6a6771ad8d9f84ae6d0b336faebe74cf787e9 100644 (file)
@@ -17,7 +17,7 @@ lxc.mount.entry = /sys/fs/pstore sys/fs/pstore none bind,optional 0 0
 # To support container nesting on an Ubuntu host while retaining most of
 # apparmor's added security, use the following two lines instead.
 #lxc.aa_profile = lxc-container-default-with-nesting
-#lxc.hook.mount = /usr/share/lxc/hooks/mountcgroups
+#lxc.mount.auto = cgroup:mixed
 
 # Uncomment the following line to autodetect squid-deb-proxy configuration on the
 # host and forward it to the guest at start time.