mirror of
https://github.com/linuxkit/linuxkit.git
synced 2026-01-13 22:39:39 +00:00
30 lines
875 B
YAML
30 lines
875 B
YAML
kernel:
|
|
image: linuxkit/kernel:5.10.104
|
|
cmdline: "console=tty0 console=ttyS0 console=ttyAMA0"
|
|
init:
|
|
- linuxkit/init:5251073a3d3e52881bf2697f7dfabac6eedfd569
|
|
- linuxkit/runc:49628804b3a39b0a0cfab046dd80b76a4fd87b5a
|
|
- linuxkit/containerd:c35f10fb8127841b4eb82ddfcebd5d5a54bad0e7
|
|
onboot:
|
|
- name: ip
|
|
image: linuxkit/ip:c68fe855482d1a255731425833d44872e25f6eed
|
|
binds:
|
|
- /etc/ip:/etc/ip
|
|
command: ["ip", "-b", "/etc/ip/eth0.conf"]
|
|
services:
|
|
- name: getty
|
|
image: linuxkit/getty:d421b06d0a1ae118e2af025cb7a3637f808a755b
|
|
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
|