diff options
author | Héctor Orón Martínez <zumbi@debian.org> | 2018-08-10 18:07:56 +0200 |
---|---|---|
committer | Héctor Orón Martínez <zumbi@debian.org> | 2018-08-10 18:07:56 +0200 |
commit | a3819b2c8c823955bb053d5a34da27c94aef4d47 (patch) | |
tree | 430633212532264c15f75ca47e02f3e4740c7c3c /doc/examples/example.yaml | |
parent | 8ab62bc45ed897f007493d02084538503ade6f37 (diff) |
New upstream version 1.0.0+git20180808.5b74d5d
Diffstat (limited to 'doc/examples/example.yaml')
-rw-r--r-- | doc/examples/example.yaml | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/doc/examples/example.yaml b/doc/examples/example.yaml new file mode 100644 index 0000000..c0b6f55 --- /dev/null +++ b/doc/examples/example.yaml @@ -0,0 +1,34 @@ +{{- $architecture := or .architecture "arm64" -}} +{{- $suite := or .suite "stretch" -}} +{{ $image := or .image (printf "debian-%s-%s.tgz" $suite $architecture) }} + +architecture: {{ $architecture }} + +actions: + - action: debootstrap + suite: "buster" + components: + - main + - contrib + - non-free + mirror: https://deb.debian.org/debian + variant: minbase + + - action: apt + description: Install some packages + packages: [ sudo, openssh-server, adduser, systemd-sysv, firmware-linux ] + + - action: run + chroot: true + script: setup-user.sh + + - action: overlay + source: overlays/sudo + + - action: run + chroot: true + command: echo debian > /etc/hostname + + - action: pack + file: {{ $image }} + compression: gz |