From 77647bf99c2078d6def34b25f8aab0f62f53164f Mon Sep 17 00:00:00 2001 From: Evgeni Golov Date: Fri, 1 Jan 2016 19:11:42 +0100 Subject: [PATCH] update README about the hooks configuration needed - fix the paths for the files and config - include lxc.mount.auto = cgroup:mixed Signed-off-by: Evgeni Golov --- README.md | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index c0966cc6..fb00c2b0 100644 --- a/README.md +++ b/README.md @@ -25,11 +25,12 @@ The recommended command to run lxcfs is: In order to use lxcfs with systemd-based containers, you can either use LXC 1.1 in which case it should work automatically, or otherwise, copy -the lxc.mount.hook file (once built) from this tree to -/usr/share/lxc/hooks/lxcfs, make sure it is executable, then add the -following two lines to your container configuration: +the `lxc.mount.hook` and `lxc.reboot.hook` files (once built) from this tree to +`/usr/share/lxcfs`, make sure it is executable, then add the +following lines to your container configuration: ``` +lxc.mount.auto = cgroup:mixed lxc.autodev = 1 lxc.kmsg = 0 -lxc.include = /usr/share/lxcfs/00-lxc.conf +lxc.include = /usr/share/lxc/config/common.conf.d/00-lxcfs.conf ```