From 8b724ff9c4c2735559027d3c9644ad9c9ff4b818 Mon Sep 17 00:00:00 2001 From: Anthony Perkins Date: Tue, 12 Nov 2019 12:19:58 +0000 Subject: [PATCH] Enable getty on ttyE0 --- roles/distro-gui/tasks/netbsd.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/roles/distro-gui/tasks/netbsd.yml b/roles/distro-gui/tasks/netbsd.yml index 3a60284..233b4ac 100644 --- a/roles/distro-gui/tasks/netbsd.yml +++ b/roles/distro-gui/tasks/netbsd.yml @@ -10,9 +10,15 @@ path: /etc/rc.conf regexp: ^xdm=.* line: xdm=YES -- name: Disable console getty +- name: Disable getty on /dev/console become: true lineinfile: path: /etc/ttys regexp: ^console\s+ 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'