mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-12-25 04:15:16 +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>
32 lines
902 B
YAML
32 lines
902 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: dhcpcd
|
|
image: "mobylinux/dhcpcd:0d4012269cb142972fed8542fbdc3ff5a7b695cd"
|
|
binds:
|
|
- /var:/var
|
|
- /tmp:/etc
|
|
capabilities:
|
|
- CAP_NET_ADMIN
|
|
- CAP_NET_BIND_SERVICE
|
|
- CAP_NET_RAW
|
|
net: host
|
|
command: ["/sbin/dhcpcd", "--nobackground", "-f", "/dhcpcd.conf", "-1"]
|
|
- name: check
|
|
image: "mobylinux/check:c9e41ab96b3ea6a3ced97634751e20d12a5bf52f"
|
|
pid: host
|
|
capabilities:
|
|
- CAP_SYS_BOOT
|
|
readonly: true
|
|
outputs:
|
|
- format: kernel+initrd
|
|
- format: iso-bios
|
|
- format: iso-efi
|
|
- format: gcp-img
|