Skip to content

Latest commit

 

History

History
67 lines (46 loc) · 943 Bytes

File metadata and controls

67 lines (46 loc) · 943 Bytes
parent
Configuration

additionalFile type

Specifies options for placing a file in the OS.

Type is used by: additionalFiles

source [string]

The path of the source file to copy to the destination path.

Example:

os:
  additionalFiles:
    files/a.txt:
    - path: /a.txt

content [string]

The contents of the file to write to the destination path.

Example:

os:
  additionalFiles:
  - content: |
      abc
    destination: /a.txt

destination [string]

The absolute path of the destination file.

Example:

os:
  additionalFiles:
  - source: files/a.txt
    destination: /a.txt

permissions [string]

The permissions to set on the destination file.

Supported formats:

  • String containing an octal string. e.g. "664"

Example:

os:
  additionalFiles:
  - source: files/a.txt
    destination: /a.txt
    permissions: "664"