mirror of
https://github.com/linuxkit/linuxkit.git
synced 2026-05-11 13:42:18 +00:00
This is needed for cloud environments that want to get their metadata in the onboot phase over the network. Signed-off-by: Justin Cormack <justin.cormack@docker.com>
33 lines
851 B
YAML
33 lines
851 B
YAML
kernel:
|
|
image: "mobylinux/kernel:4.9.x"
|
|
cmdline: "console=ttyS0"
|
|
init:
|
|
- mobylinux/init:e10e2efc1b78ef41d196175cbc07e069391f406e
|
|
- mobylinux/runc:b0fb122e10dbb7e4e45115177a61a3f8d68c19a9
|
|
- mobylinux/containerd:18eaf72f3f4f9a9f29ca1951f66df701f873060b
|
|
- mobylinux/ca-certificates:eabc5a6e59f05aa91529d80e9a595b85b046f935
|
|
onboot:
|
|
- name: ltp
|
|
image: "mobylinux/test-ltp-20170116:fdca2d1bb019b1d51e722e6032c82c7933d4b870"
|
|
net: host
|
|
pid: host
|
|
capabilities:
|
|
- CAP_SYS_ADMIN
|
|
services:
|
|
- name: dhcpcd
|
|
image: "mobylinux/dhcpcd:0d4012269cb142972fed8542fbdc3ff5a7b695cd"
|
|
binds:
|
|
- /var:/var
|
|
- /tmp:/etc
|
|
capabilities:
|
|
- CAP_NET_ADMIN
|
|
- CAP_NET_BIND_SERVICE
|
|
- CAP_NET_RAW
|
|
net: host
|
|
oomScoreAdj: -800
|
|
files:
|
|
outputs:
|
|
- format: kernel+initrd
|
|
- format: iso-bios
|
|
- format: iso-efi
|