The following pull request was submitted through Github.
It can be accessed and reviewed at: https://github.com/lxc/lxc-ci/pull/51

This e-mail was sent by the LXC bot, direct replies will not reach the author
unless they happen to be subscribed to this list.

=== Description (from pull-request) ===
Signed-off-by: Thomas Hipp <thomas.h...@canonical.com>
From 2835a2b314d27038e0ff404764e0b42e72489190 Mon Sep 17 00:00:00 2001
From: Thomas Hipp <thomas.h...@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.h...@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
_______________________________________________
lxc-devel mailing list
lxc-devel@lists.linuxcontainers.org
http://lists.linuxcontainers.org/listinfo/lxc-devel

Reply via email to