mirror of
https://github.com/linuxkit/linuxkit.git
synced 2026-04-03 19:08:15 +00:00
33 lines
903 B
YAML
33 lines
903 B
YAML
kernel:
|
|
image: linuxkit/kernel:4.19.34
|
|
cmdline: "console=tty0 console=ttyS0 console=ttyAMA0"
|
|
init:
|
|
- linuxkit/init:3a772fafa2e45b872c72375dd6bc34993257b6d1
|
|
- linuxkit/runc:02f2f6dd425eb3ff98f488b5cdef0125be787332
|
|
- linuxkit/containerd:d197495c30d0c6e81cb038d8ab3b8f793736b39d
|
|
onboot:
|
|
- name: ip
|
|
image: linuxkit/ip:4787413a729748bcf7560c73e0b46d38b8a8df2b
|
|
binds:
|
|
- /etc/ip:/etc/ip
|
|
command: ["ip", "-b", "/etc/ip/eth0.conf"]
|
|
services:
|
|
- name: getty
|
|
image: linuxkit/getty:01993189b8c583dc91cbbc7d4be131832c0fc205
|
|
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
|