File: create_file.mdwn

package info (click to toggle)
vmdb2 0.41-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 572 kB
  • sloc: python: 2,591; sh: 151; makefile: 17
file content (19 lines) | stat: -rw-r--r-- 750 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
Step: create-file
-----------------------------------------------------------------------------

Create an empty file in the target filesystem.

Step keys:

* `create-file` — REQUIRED; the full (starting from the new
  filesystem root) path name of the file to create. It will *not*
  create any directories; if they need to be created, please use
  `create-dir` first.
* `contents` — REQUIRED; the contents to be written to the
  generated file.
* `perm` — OPTIONAL; the numeric (octal) representation of the
  file's permissions. Defaults to 0644.
* `uid` — OPTIONAL; the numeric user ID of the file's
  owner. Defaults to 0 (root).
* `gid` — OPTIONAL; the numeric user ID of the file's
  group. Defaults to 0 (root).