mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-12-26 15:13:24 +00:00
30 lines
874 B
YAML
30 lines
874 B
YAML
kernel:
|
|
image: linuxkit/kernel:6.12.52
|
|
cmdline: "console=tty0 console=ttyS0 console=ttyAMA0"
|
|
init:
|
|
- linuxkit/init:b5506cc74a6812dc40982cacfd2f4328f8a4b12a
|
|
- linuxkit/runc:24bcd37e33b5eb445c4fa85b354061fa98b78f26
|
|
- linuxkit/containerd:ba19f64efd3331a8fd0a33e00eabd14f6ee1780e
|
|
onboot:
|
|
- name: ip
|
|
image: linuxkit/ip:3c0676ee83a0dc739685be1253b8326f08581ef7
|
|
binds:
|
|
- /etc/ip:/etc/ip
|
|
command: ["ip", "-b", "/etc/ip/eth0.conf"]
|
|
services:
|
|
- name: getty
|
|
image: linuxkit/getty:a86d74c8f89be8956330c3b115b0b1f2e09ef6e0
|
|
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
|