mirror of
https://github.com/linuxkit/linuxkit.git
synced 2026-04-03 22:16:31 +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:7e8c0f9a968894f6f8be80bfb99b3e16d201e50b
|
|
- linuxkit/runc:86b8092f0ad8635cc8b6b1c95a4b20f66c4095bb
|
|
- linuxkit/containerd:1b14966d84209083c9cbc757be862f97005e5796
|
|
onboot:
|
|
- name: ip
|
|
image: linuxkit/ip:6e4e00cd775014ed1d47c397c6041852b218eae0
|
|
binds:
|
|
- /etc/ip:/etc/ip
|
|
command: ["ip", "-b", "/etc/ip/eth0.conf"]
|
|
services:
|
|
- name: getty
|
|
image: linuxkit/getty:e594a89dc1aee9b40cb0febcbdf207a5c2506c0e
|
|
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
|