disable ttys in lxc

This commit is contained in:
Jörg Thalheim 2014-08-10 20:20:23 +02:00
parent b735befcc7
commit a2b21f7235
1 changed files with 6 additions and 0 deletions

View File

@ -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