bootstrap-download-files¶
Defines a list of files to download during bootstrap
This is an array of file data where each item is a file that should be downloaded / updated during the bootstrap-files task.
This is used by the bootstrapping system to download files to the DRP Endpoint.
By default, no files are specified. If the operator sets this Param on the self-runner Machine object (either directly or via a Profile), then runs one of the bootstrap workflows, the files will be downloaded, then uploaded to the endpoint.
This parameter is Composable and Expandable. This allows other profiles to incrementally and dynamically add to the list.
Note
The Path field must be prefixed with files/ or isos/ and a filename is
required. The prefix will not be included in the final path on the endpoint.
Example: Path: files/alpha/beta/data.lgo will be downloaded to alpha/beta/data.lgo
Example setting in YAML:
bootstrap-download-files:
- Source: https://mirror.example.com/path/to/file.tgz
Path: files/file.tgz
Sha256Sum: 1234567890abcdef1234567890abcdef1234567890abcdef1234567890abcdef
Explode: true
- Source: https://mirror.example.com/path/to/image.iso
Path: isos/image.iso
Sha256Sum: 1234567890abcdef1234567890abcdef1234567890abcdef1234567890abcdef
Or in JSON:
{ "bootstrap-download-files": [
{ "Source": "https://mirror.example.com/path/to/file.tgz",
"Path": "files/file.tgz",
"Sha256Sum": "1234567890abcdef1234567890abcdef1234567890abcdef1234567890abcdef",
"Explode": true
},
{ "Source": "https://mirror.example.com/path/to/image.iso",
"Path": "isos/image.iso",
"Sha256Sum": "1234567890abcdef1234567890abcdef1234567890abcdef1234567890abcdef"
}
]}
Objects that Reference bootstrap-download-files¶
- tasks bootstrap-files in Core Task Library v4.15.12-root.2+gba7b0365f30b7a9b6d48ef22fbbd24bba9d27f42 as part of Templates.[0].Contents (used)
Objects used by bootstrap-download-files¶
Not used in current content packs