Skip to content

Commit 454ff09

Browse files
authored
hook: add ttyUSB0/ttyUSB1 to getty consoles list (#228)
#### 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 <[email protected]>
2 parents 1d72243 + 985eb63 commit 454ff09

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

linuxkit-templates/hook.template.yaml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -144,6 +144,16 @@ services:
144144
major: 243
145145
minor: 1
146146
mode: "0666"
147+
- path: "/dev/ttyUSB0"
148+
type: c
149+
major: 188
150+
minor: 0
151+
mode: "0666"
152+
- path: "/dev/ttyUSB1"
153+
type: c
154+
major: 188
155+
minor: 1
156+
mode: "0666"
147157

148158
- name: hook-docker
149159
image: "${HOOK_CONTAINER_DOCKER_IMAGE}"

0 commit comments

Comments
 (0)