mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-09-12 13:24:12 +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:872d2e1be745f1acb948762562cf31c367303a3b
|
|
- linuxkit/runc:6062483d748609d505f2bcde4e52ee64a3329f5f
|
|
- linuxkit/containerd:39301e7312f13eedf19bd5d5551af7b37001d435
|
|
onboot:
|
|
- name: ip
|
|
image: linuxkit/ip:bb250017b05de5e16ac436b1eb19a39c87b5a252
|
|
binds:
|
|
- /etc/ip:/etc/ip
|
|
command: ["ip", "-b", "/etc/ip/eth0.conf"]
|
|
services:
|
|
- name: getty
|
|
image: linuxkit/getty:5d86a2ce2d890c14ab66b13638dcadf74f29218b
|
|
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
|