summaryrefslogtreecommitdiff
path: root/vmdb/plugins/rootfs_cache.mdwn
blob: 3f4ee0bd1e068c771e368810e0f7e6c418a351a9 (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
Step: `cache-rootfs`
-----------------------------------------------------------------------------

Create a tarball of the root filesystem in the image.

Step keys:

* `cache-rootfs` — REQUIRED; tag of root filesystem on image.

Example (in the .vmdb file):

    - cache-rootfs: root
      unless: rootfs_unpacked


Step: `unpack-rootfs`
-----------------------------------------------------------------------------

Unpack a tarball of the root filesystem to the image, and set the
`rootfs_unpacked` condition to true. If the tarball doesn't exist, do
nothing and leave the `rootfs_unpacked` condition to false.

Step keys:

* `unpack-rootfs` — REQUIRED; tag for the root filesystem.

Example (in the .vmdb file):

    - unpack-rootfs: root