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.
- Access an array:
In addition to the above variables,the following variables are available. While some variables are already accessible in the dotted server array, they are offered as convenient shortcuts.
- root password:
- Encrypted root password:
- Primary IPv4 address:
- Netmask of the primary IPv4 address:
- Gateway of the primary IPv4 address:
- CIDR of the primary IPv4 address:
- PXE MAC:
- Timezone of the PXE profile:
- Hostname of the remote agent:
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.