Files
linuxkit/examples/getty.yml
Avi Deitcher 1723cf9493 Update package tags
Signed-off-by: Avi Deitcher <avi@deitcher.net>
2025-10-29 07:10:30 -04:00

27 lines
1.1 KiB
YAML

kernel:
image: linuxkit/kernel:6.12.52
cmdline: "console=tty0 console=ttyS0 console=ttyAMA0 console=ttysclp0"
init:
- linuxkit/init:b92210bd04aa29344d70fd2d259e2ae3c7903ec4
- linuxkit/runc:98ddef9b5b87cb44783566ed2a86cea95439a631
- linuxkit/containerd:22578becf270fe4bbb82e29f2539f71613e0b4fc
- linuxkit/ca-certificates:256f1950df59f2f209e9f0b81374177409eb11de
onboot:
- name: sysctl
image: linuxkit/sysctl:97e8bb067cd9cef1514531bb692f27263ac6d626
- name: dhcpcd
image: linuxkit/dhcpcd:b87e9ececac55a65eaa592f4dd8b4e0c3009afdb
command: ["/sbin/dhcpcd", "--nobackground", "-f", "/dhcpcd.conf", "-1"]
services:
- name: getty
image: linuxkit/getty:a86d74c8f89be8956330c3b115b0b1f2e09ef6e0
# to make insecure with passwordless root login, uncomment following lines
#env:
# - INSECURE=true
- name: rngd
image: linuxkit/rngd:984eb580ecb63986f07f626b61692a97aacd7198
files:
- path: etc/getty.shadow
# sample sets password for root to "abcdefgh" (without quotes)
contents: 'root:$6$6tPd2uhHrecCEKug$8mKfcgfwguP7f.BLdZsT1Wz7WIIJOBY1oUFHzIv9/O71M2J0EPdtFqFGTxB1UK5ejqQxRFQ.ZSG9YXR0SNsc11:17322:0:::::'