mirror of
https://github.com/linuxkit/linuxkit.git
synced 2026-04-05 12:54:10 +00:00
This is based on examples/getty.yml modified to drop console=tty0 from the command line since we will be capturing/logging only the serial so want everything to go there. Also updates the getty example to pickup the latest containerd and ca-certificates as used in the top level linuxkit.yml. Fix a typo in the containerd test too. Signed-off-by: Ian Campbell <ian.campbell@docker.com>
30 lines
1.1 KiB
YAML
30 lines
1.1 KiB
YAML
kernel:
|
|
image: "linuxkit/kernel:4.9.x"
|
|
cmdline: "console=ttyS0 console=tty0 page_poison=1"
|
|
init:
|
|
- linuxkit/init:17693d233dd009b2a3a8d23673cb85969e1dce80
|
|
- linuxkit/runc:3a4e6cbf15470f62501b019b55e1caac5ee7689f
|
|
- linuxkit/containerd:a33cdcf50b8107ffe14c92802c460fe7ada39acd
|
|
- linuxkit/ca-certificates:75cf419fb58770884c3464eb687ec8dfc704169d
|
|
onboot:
|
|
- name: sysctl
|
|
image: "linuxkit/sysctl:3aa6bc663c2849ef239be7d941d3eaf3e6fcc018"
|
|
- name: dhcpcd
|
|
image: "linuxkit/dhcpcd:7d2b8aaaf20c24ad7d11a5ea2ea5b4a80dc966f1"
|
|
command: ["/sbin/dhcpcd", "--nobackground", "-f", "/dhcpcd.conf", "-1"]
|
|
services:
|
|
- name: getty
|
|
image: "linuxkit/getty:9f27c1272b6d128c9a09745e916f151d09cb0d27"
|
|
# to make insecure with passwordless root login, uncomment following lines
|
|
#env:
|
|
# - INSECURE=true
|
|
- name: rngd
|
|
image: "linuxkit/rngd:1fa4de44c961bb5075647181891a3e7e7ba51c31"
|
|
files:
|
|
- path: etc/getty.shadow
|
|
# sample sets password for root to "abcdefgh" (without quotes)
|
|
contents: 'root:$6$6tPd2uhHrecCEKug$8mKfcgfwguP7f.BLdZsT1Wz7WIIJOBY1oUFHzIv9/O71M2J0EPdtFqFGTxB1UK5ejqQxRFQ.ZSG9YXR0SNsc11:17322:0:::::'
|
|
trust:
|
|
org:
|
|
- linuxkit
|