Files
linuxkit/examples/swap.yml
Krister Johansen 45222dfaaf Move init image to fbcbbe3ace0b3e9455300017dd07625293a0d4d4.
This attempts to work around a CI issue where we're running out of disk
space when rebuilding the init package.

Signed-off-by: Krister Johansen <krister.johansen@oracle.com>
2018-06-11 08:29:20 -07:00

36 lines
1.1 KiB
YAML

kernel:
image: linuxkit/kernel:4.14.48
cmdline: "console=tty0 console=ttyS0 console=ttyAMA0 console=ttysclp0"
init:
- linuxkit/init:fbcbbe3ace0b3e9455300017dd07625293a0d4d4
- linuxkit/runc:v0.4
- linuxkit/containerd:72df922e49a363a4ad53d88cd1a8a3ae4d41086f
- linuxkit/ca-certificates:v0.4
onboot:
- name: sysctl
image: linuxkit/sysctl:v0.4
- name: dhcpcd
image: linuxkit/dhcpcd:v0.4
command: ["/sbin/dhcpcd", "--nobackground", "-f", "/dhcpcd.conf", "-1"]
- name: format
image: linuxkit/format:v0.4
- name: mount
image: linuxkit/mount:v0.4
command: ["/usr/bin/mountie", "/var/external"]
- name: swap
image: linuxkit/swap:v0.4
# to use unencrypted swap, use:
# command: ["/swap.sh", "--path", "/var/external/swap", "--size", "1G"]
command: ["/swap.sh", "--path", "/var/external/swap", "--size", "1G", "--encrypt"]
services:
- name: getty
image: linuxkit/getty:44730fd0a7c59dbacf5b48b54ba33f551bcf7ef0
env:
- INSECURE=true
- name: rngd
image: linuxkit/rngd:v0.4
trust:
org:
- linuxkit
- library