mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-11-01 15:55:54 +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:bf45651001f871323d70b746330e8c2a94f767e6
|
|
- linuxkit/runc:ab0b50b622b8e34031b6bb8b18497100a558a11d
|
|
- linuxkit/containerd:c85f857bb3ed72b91509df20d1b9b3e430160074
|
|
onboot:
|
|
- name: ip
|
|
image: linuxkit/ip:e9beada5be8a1ec4eac2b276dc91397645b97dd6
|
|
binds:
|
|
- /etc/ip:/etc/ip
|
|
command: ["ip", "-b", "/etc/ip/eth0.conf"]
|
|
services:
|
|
- name: getty
|
|
image: linuxkit/getty:76554bbf9f667205c78ce589c55100376fa16e28
|
|
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
|