Enable NTP(CAP_SYS_TIME) in LXContainer
This commit is contained in:
parent
715aaa882b
commit
e30425a90e
|
@ -73,6 +73,15 @@
|
||||||
reload: yes
|
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
|
- name: Disable lxc-net
|
||||||
service:
|
service:
|
||||||
name: lxc-net
|
name: lxc-net
|
||||||
|
|
Loading…
Reference in a new issue