diff --git a/prepare_lxc_hosts.yml b/prepare_lxc_hosts.yml index 07f5eb7..55be343 100644 --- a/prepare_lxc_hosts.yml +++ b/prepare_lxc_hosts.yml @@ -63,6 +63,16 @@ reload: yes + - name: Raise inotify limit + sysctl: + name: fs.inotify.max_user_instances + value: '1024' + sysctl_file: 30-lxc-inotify.conf + sysctl_set: yes + state: present + reload: yes + + - name: Disable lxc-net service: name: lxc-net