mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-11-03 19:21:58 +00:00
33 lines
758 B
YAML
33 lines
758 B
YAML
kernel:
|
|
image: linuxkit/kernel:5.4.39
|
|
cmdline: "console=tty0 console=ttyS0 console=ttyAMA0"
|
|
init:
|
|
- linuxkit/init:v0.8
|
|
- linuxkit/runc:v0.8
|
|
- linuxkit/containerd:a4aa19c608556f7d786852557c36136255220c1f
|
|
onboot:
|
|
- name: ip
|
|
image: linuxkit/ip:v0.8
|
|
binds:
|
|
- /etc/ip:/etc/ip
|
|
command: ["ip", "-b", "/etc/ip/eth0.conf"]
|
|
services:
|
|
- name: getty
|
|
image: linuxkit/getty:v0.8
|
|
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
|