Skip to content

Commit

Permalink
update README about the hooks configuration needed
Browse files Browse the repository at this point in the history
- fix the paths for the files and config
- include lxc.mount.auto = cgroup:mixed

Signed-off-by: Evgeni Golov <[email protected]>
  • Loading branch information
evgeni committed Jan 1, 2016
1 parent 5f4744e commit 77647bf
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
```

0 comments on commit 77647bf

Please sign in to comment.