mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-11-13 12:37:36 +00:00
30 lines
874 B
YAML
30 lines
874 B
YAML
kernel:
|
|
image: linuxkit/kernel:5.10.47
|
|
cmdline: "console=tty0 console=ttyS0 console=ttyAMA0"
|
|
init:
|
|
- linuxkit/init:78fb57c7da07c4e43c3a37b27755581da087a3b6
|
|
- linuxkit/runc:f9c8a136f6aca1cde95b249eb5095df702c23ac8
|
|
- linuxkit/containerd:1c4d860d198095565baa3d8d60d434f034f0fef0
|
|
onboot:
|
|
- name: ip
|
|
image: linuxkit/ip:b98c32fab9c8997c5d05677af979f05dfcd8b3f1
|
|
binds:
|
|
- /etc/ip:/etc/ip
|
|
command: ["ip", "-b", "/etc/ip/eth0.conf"]
|
|
services:
|
|
- name: getty
|
|
image: linuxkit/getty:ebe3397aa9b08e8f310121fdb0aac9406e1c8e73
|
|
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
|