Skip to content

Commit

Permalink
hook: add ttyUSB0/ttyUSB1 to getty consoles list (#228)
Browse files Browse the repository at this point in the history
#### 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]>
  • Loading branch information
mergify[bot] authored Jun 1, 2024
2 parents 1d72243 + 985eb63 commit 454ff09
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions linuxkit-templates/hook.template.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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}"
Expand Down

0 comments on commit 454ff09

Please sign in to comment.