Variables
To create more dynamic PXE profiles, disk layouts, and scripts, variables are available. These variables use a dotted syntax of the server array and are prefixed by "server". More information on the server array can be found in the API documentation.
Variable examples:
- Hostname:
{{server.hostname}}
- Access an array:
{{server.powerprovider.type}}
By utilizing variables, it is possible to install an OS in a more dynamic manner and use dependent data from the server. If a variable does not exist and is prefixed by "server.", it will be removed from the submitted data before the installation process begins.