mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-11-03 10:09:30 +00:00
33 lines
902 B
YAML
33 lines
902 B
YAML
kernel:
|
|
image: linuxkit/kernel:5.4.39
|
|
cmdline: "console=tty0 console=ttyS0 console=ttyAMA0"
|
|
init:
|
|
- linuxkit/init:e93b0bf37b030238d33e04b98e90d087637f3d2c
|
|
- linuxkit/runc:f79954950022fea76b8b6f10de58cb48e4fb3878
|
|
- linuxkit/containerd:6ef473a228db6f6ee163f9b9a051102a1552a4ef
|
|
onboot:
|
|
- name: ip
|
|
image: linuxkit/ip:22f0b3be72f25adb8a38aa67c075d59da49d20f2
|
|
binds:
|
|
- /etc/ip:/etc/ip
|
|
command: ["ip", "-b", "/etc/ip/eth0.conf"]
|
|
services:
|
|
- name: getty
|
|
image: linuxkit/getty:48f66df198981e692084bf70ab72b9fe2be0f880
|
|
env:
|
|
- INSECURE=true
|
|
files:
|
|
- path: etc/ip/eth0.conf
|
|
contents: |
|
|
address add 10.10.1.225/24 dev eth0
|
|
link set eth0 up
|
|
route add default via 10.10.1.100 dev eth0
|
|
- path: etc/resolv.conf
|
|
contents: |
|
|
# domain test.local
|
|
nameserver 10.10.1.101
|
|
nameserver 10.10.1.100
|
|
trust:
|
|
org:
|
|
- linuxkit
|