blob: a21e58042d6d3d95a3c485188e32ab4530d16df9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
Step: copy-dir
-----------------------------------------------------------------------------
Recursively copy a directory from outside into the target filesystem.
Step keys:
* `copy-dir` — REQUIRED; the full (starting from the new
filesystem root) path of directory to copy to. Any missing
directories will be created with the configured user and group ownership and
permissions. See the `perm`, `uid`, `gid`, `user` and `group` keys.
* `src` — REQUIRED; the path of the directory to copy from on the host
filesystem, outside the chroot, relative to the current working directory of
the vmdb2 process.
* `perm` — OPTIONAL; the permissions to apply to any missing parent
directories that are created on the target. The value of `umask` is applied
to this value.
* `umask` — OPTIONAL; the numeric (octal) representation of umask to
apply to the permissions of copied files and directories. Defaults to 0022.
* `uid` — OPTIONAL; the numeric user ID to assign to the copied files
and directories. Defaults to 0 (root).
* `gid` — OPTIONAL; the numeric group ID to assign to the copied files
and directories. Defaults to 0 (root).
|