mirror of
https://github.com/linuxkit/linuxkit.git
synced 2026-04-03 04:53:44 +00:00
33 lines
902 B
YAML
33 lines
902 B
YAML
kernel:
|
|
image: linuxkit/kernel:5.4.30
|
|
cmdline: "console=tty0 console=ttyS0 console=ttyAMA0"
|
|
init:
|
|
- linuxkit/init:f670045ecb6ec31ea37dd10114366e9a1e915013
|
|
- linuxkit/runc:1eef77f5963e44e491abfe392206769037d47ae2
|
|
- linuxkit/containerd:8ee7a0d636fff9df7e13076f5492d06274e5f644
|
|
onboot:
|
|
- name: ip
|
|
image: linuxkit/ip:22f0b3be72f25adb8a38aa67c075d59da49d20f2
|
|
binds:
|
|
- /etc/ip:/etc/ip
|
|
command: ["ip", "-b", "/etc/ip/eth0.conf"]
|
|
services:
|
|
- name: getty
|
|
image: linuxkit/getty:48f66df198981e692084bf70ab72b9fe2be0f880
|
|
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
|