fixes/lxc-inotify

This commit is contained in:
Astro 2019-01-26 19:12:10 +01:00
parent 058e342d17
commit ae75743a57
3 changed files with 12 additions and 0 deletions

View File

@ -0,0 +1 @@
fs.inotify.max_user_instances=512

View File

@ -0,0 +1,10 @@
/etc/sysctl.d/20-lxc-inotify.conf:
file.managed:
- source: "salt://fixes/lxc-inotify.conf"
apply-lxc-inotify:
cmd.run:
- name: sysctl -p /etc/sysctl.d/20-lxc-inotify.conf
require:
- file: /etc/sysctl.d/20-lxc-inotify.conf
- pkg: procps

View File

@ -7,6 +7,7 @@ base:
- switches
- cpe
- collectd
- 'fixes.lxc-inotify'
'priv*-gw':
- no-ssh
- forwarding