diff --git a/prepare_lxc_hosts.yml b/prepare_lxc_hosts.yml index 55be343..86db34f 100644 --- a/prepare_lxc_hosts.yml +++ b/prepare_lxc_hosts.yml @@ -73,6 +73,15 @@ reload: yes + - name: Enable CAP_SYS_TIME in Container + lineinfile: + dest: /tmp/lxc_config_common.conf + backrefs: yes + regexp: '(^\s*[^#].*)sys_time ?(.*)$' + line: '\1\2' + backup: yes + + - name: Disable lxc-net service: name: lxc-net