disable ttys in lxc
This commit is contained in:
parent
b735befcc7
commit
a2b21f7235
@ -4,3 +4,9 @@
|
||||
pacman: update_cache=yes
|
||||
- name: install htop
|
||||
pacman: name=htop state=present
|
||||
- name: Disable getty
|
||||
file: src=/dev/null dest=/etc/systemd/system/getty.target state=link
|
||||
- name: Disable logind
|
||||
file: src=/dev/null dest=/etc/systemd/system/systemd-logind.service state=link
|
||||
- name: Disable logind
|
||||
service: name=systemd-logind state=stopped enabled=no
|
||||
|
Loading…
Reference in New Issue
Block a user