[lxc-devel] [lxc-ci/master] images: Disable TTYs and enable /dev/console on Void Linux
monstermunchkin on Github
lxc-bot at linuxcontainers.org
Fri Jul 26 14:53:31 UTC 2019
A non-text attachment was scrubbed...
Name: not available
Type: text/x-mailbox
Size: 356 bytes
Desc: not available
URL: <http://lists.linuxcontainers.org/pipermail/lxc-devel/attachments/20190726/6ccb1876/attachment.bin>
-------------- next part --------------
From 2835a2b314d27038e0ff404764e0b42e72489190 Mon Sep 17 00:00:00 2001
From: Thomas Hipp <thomas.hipp at canonical.com>
Date: Fri, 26 Jul 2019 16:52:57 +0200
Subject: [PATCH] images: Disable TTYs and enable /dev/console on Void Linux
Signed-off-by: Thomas Hipp <thomas.hipp at canonical.com>
---
images/voidlinux.yaml | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/images/voidlinux.yaml b/images/voidlinux.yaml
index 58d901d..121af68 100644
--- a/images/voidlinux.yaml
+++ b/images/voidlinux.yaml
@@ -121,9 +121,10 @@ actions:
ln -s /etc/sv/nanoklogd /etc/runit/runsvdir/default/
ln -s /etc/sv/dhcpcd-eth0 /etc/runit/runsvdir/default/
ln -s /etc/sv/cronie /etc/runit/runsvdir/default/
+ ln -s /etc/sv/agetty-console /etc/runit/runsvdir/default/
# Disable services
- for tty in 2 3 4 5 6; do
+ for tty in 1 2 3 4 5 6; do
rm /etc/runit/runsvdir/default/agetty-tty${tty}
touch /etc/sv/agetty-tty${tty}/down
done
More information about the lxc-devel
mailing list