summaryrefslogtreecommitdiff
path: root/simple.yaml
blob: 713f25c18f8e317c80ca887b7568c66d5b9d9285 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
steps:
  - mkimg: "{{ output }}"
    size: 4G

  - mklabel: gpt
    device: "{{ output }}"

  - mkpart: primary
    device: "{{ output }}"
    start: 0%
    end: 100%
    part-tag: root-part

  - mkfs: ext4
    partition: root-part

  - mount: root-part
    fs-tag: root-fs

  - debootstrap: stretch
    mirror: http://http.debian.net/debian
    target: root-fs

  - apt: linux-image-amd64
    fs-tag: root-fs

  - shell: |
      echo Disk usage of this installation:
      du -sh "$ROOT"
    root-fs: root-fs