Skip to content

Commit

Permalink
docs: document inline file contents
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrew Jeddeloh committed Oct 1, 2019
1 parent 5bfe686 commit a338b6b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docs/configuration-v1_0.md
Expand Up @@ -55,7 +55,8 @@ The Fedora CoreOS configuration is a YAML document conforming to the following s
* **_overwrite_** (boolean): whether to delete preexisting nodes at the path. `source` must be specified if `overwrite` is true. Defaults to false.
* **_contents_** (object): options related to the contents of the file.
* **_compression_** (string): the type of compression used on the contents (null or gzip). Compression cannot be used with S3.
* **_source_** (string): the URL of the file contents. Supported schemes are `http`, `https`, `tftp`, `s3`, and [`data`][rfc2397]. When using `http`, it is advisable to use the verification option to ensure the contents haven't been modified. If source is omitted and a regular file already exists at the path, Ignition will do nothing. If source is omitted and no file exists, an empty file will be created.
* **_source_** (string): the URL of the file contents. Supported schemes are `http`, `https`, `tftp`, `s3`, and [`data`][rfc2397]. When using `http`, it is advisable to use the verification option to ensure the contents haven't been modified. If source is omitted and a regular file already exists at the path, Ignition will do nothing. If source is omitted and no file exists, an empty file will be created. Mutually exclusive with `inline`.
* **_inline_** (string): the contents of the file. Mutually exclusive with `source`.
* **_verification_** (object): options related to the verification of the file contents.
* **_hash_** (string): the hash of the config, in the form `<type>-<value>` where type is `sha512`.
* **_append_** (list of objects): list of contents to be appended to the file. Follows the same stucture as `contents`
Expand Down

0 comments on commit a338b6b

Please sign in to comment.