From 9b2d8d442190ecd25831ce2d8761395f0dc99192 Mon Sep 17 00:00:00 2001 From: Stefano Stabellini Date: Wed, 15 Nov 2017 17:59:54 -0800 Subject: [PATCH] Fix getty listening terminals Add hvc0 to both securetty and inittab. Signed-off-by: Stefano Stabellini --- dom0/alpine-assemble | 2 ++ 1 file changed, 2 insertions(+) diff --git a/dom0/alpine-assemble b/dom0/alpine-assemble index 47ef617..bc4e06b 100644 --- a/dom0/alpine-assemble +++ b/dom0/alpine-assemble @@ -16,7 +16,9 @@ RUN \ echo "auto eth0" >> /etc/network/interfaces && \ echo "iface eth0 inet dhcp" >> /etc/network/interfaces && \ echo "ttyS0" >> /etc/securetty && \ + echo "hvc0" >> /etc/securetty && \ echo "ttyS0::respawn:/sbin/getty -L ttyS0 115200 vt100" >> /etc/inittab && \ + echo "hvc0::respawn:/sbin/getty -L hvc0 115200 vt100" >> /etc/inittab && \ # Xen run deps apk add python2 gettext zlib ncurses dev86 texinfo yajl curl libaio autoconf automake iasl make xz-dev bash util-linux argp-standalone && \ rc-update add xencommons && \ -- 2.39.5