mirror of
https://github.com/linuxkit/linuxkit.git
synced 2026-01-13 20:06:38 +00:00
33 lines
795 B
YAML
33 lines
795 B
YAML
kernel:
|
|
image: linuxkit/kernel:5.4.113
|
|
cmdline: "console=tty0 console=ttyS0 console=ttyAMA0"
|
|
init:
|
|
- linuxkit/init:a68f9fa0c1d9dbfc9c23663749a0b7ac510cbe1c
|
|
- linuxkit/runc:v0.8
|
|
- linuxkit/containerd:1ae8f054e9fe792d1dbdb9a65f1b5e14491cb106
|
|
onboot:
|
|
- name: ip
|
|
image: linuxkit/ip:v0.8
|
|
binds:
|
|
- /etc/ip:/etc/ip
|
|
command: ["ip", "-b", "/etc/ip/eth0.conf"]
|
|
services:
|
|
- name: getty
|
|
image: linuxkit/getty:v0.8
|
|
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
|
|
trust:
|
|
org:
|
|
- linuxkit
|