From 985eb63b9729ebe24221e9b4ede8be737649ec20 Mon Sep 17 00:00:00 2001 From: Ricardo Pardini Date: Sat, 1 Jun 2024 15:22:44 +0200 Subject: [PATCH] hook: add ttyUSB0/ttyUSB1 to getty consoles list - ttyUSB0 is useful when handling machines without onboard tty, eg, laptops (use a ttl-dongle pair) Signed-off-by: Ricardo Pardini --- linuxkit-templates/hook.template.yaml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/linuxkit-templates/hook.template.yaml b/linuxkit-templates/hook.template.yaml index cc8aaf3..c8a46bc 100644 --- a/linuxkit-templates/hook.template.yaml +++ b/linuxkit-templates/hook.template.yaml @@ -144,6 +144,16 @@ services: major: 243 minor: 1 mode: "0666" + - path: "/dev/ttyUSB0" + type: c + major: 188 + minor: 0 + mode: "0666" + - path: "/dev/ttyUSB1" + type: c + major: 188 + minor: 1 + mode: "0666" - name: hook-docker image: "${HOOK_CONTAINER_DOCKER_IMAGE}"