mirror of
https://github.com/linuxkit/linuxkit.git
synced 2026-04-03 23:20:43 +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:7135424f6836ee166d1199e88cfb95ee88efaf91
|
|
- linuxkit/runc:efcece75889aec4e2de0d95ba27ccc46438522b3
|
|
- linuxkit/containerd:ce79d5d4ab9c46f4763735c6e4ab5c51c3feb5d8
|
|
onboot:
|
|
- name: ip
|
|
image: linuxkit/ip:af77c3f93143ff352a07ad5233d25a665012bcce
|
|
binds:
|
|
- /etc/ip:/etc/ip
|
|
command: ["ip", "-b", "/etc/ip/eth0.conf"]
|
|
services:
|
|
- name: getty
|
|
image: linuxkit/getty:bae9e3d4861173bacf78f14a4fe44997a430d13b
|
|
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
|