Enable getty on ttyE0

This commit is contained in:
Anthony Rose 2019-11-12 12:19:58 +00:00
parent 0beb1c7340
commit 8b724ff9c4

View file

@ -10,9 +10,15 @@
path: /etc/rc.conf path: /etc/rc.conf
regexp: ^xdm=.* regexp: ^xdm=.*
line: xdm=YES line: xdm=YES
- name: Disable console getty - name: Disable getty on /dev/console
become: true become: true
lineinfile: lineinfile:
path: /etc/ttys path: /etc/ttys
regexp: ^console\s+ regexp: ^console\s+
line: 'console "/usr/libexec/getty Pc" vt100 off secure' line: 'console "/usr/libexec/getty Pc" vt100 off secure'
- name: Enable getty on /dev/ttyE0
become: true
lineinfile:
path: /etc/ttys
regexp: ^ttyE0\s+
line: 'ttyE0 "/usr/libexec/getty Pc" wsvt25 on secure'