mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-10-28 13:49:51 +00:00
30 lines
873 B
YAML
30 lines
873 B
YAML
kernel:
|
|
image: linuxkit/kernel:6.6.13
|
|
cmdline: "console=tty0 console=ttyS0 console=ttyAMA0"
|
|
init:
|
|
- linuxkit/init:30e04e810c9d3d54ab1eb6c2d9407a09d4f2709a
|
|
- linuxkit/runc:8b5af3365fc7d015db4e44113d93c7b1f8e2d2ab
|
|
- linuxkit/containerd:8072efcee7c1d77a6b41093ae610062552e354fb
|
|
onboot:
|
|
- name: ip
|
|
image: linuxkit/ip:647706ee1ccf1dcb75f9d44e98f5a49ed1101bbc
|
|
binds:
|
|
- /etc/ip:/etc/ip
|
|
command: ["ip", "-b", "/etc/ip/eth0.conf"]
|
|
services:
|
|
- name: getty
|
|
image: linuxkit/getty:70237b8ac2006b0177026520e7720fc574339298
|
|
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
|