Templates form a part of orcharhino’s provisioning setup. (See also: Provisioning Setup).
Templates are used to generate the scripts used during the installation of new hosts. They make heavy use of parameterisation, such that general templates can be turned into installation scripts for particular hosts, by substituting the appropriate parameters.
In addition to provisioning, templates are also used by orcharhino’s remote execution features. (See also: Remote Execution Guide).
There are several different types of templates, organized into several different pages of the web interface:
In general, a clean install of orcharhino will come with any required templates, and it is not expected (nor recommended) that orcharhino users manually edit any templates. In case you know what you are doing, and template editing is desirable, the web interface provides extensive tools to do so, including inbuilt documentation on template syntax. (See also: Viewing and/or Editing a Template).
Viewing and/or Editing a Template¶
The template window (for a given template) can be reached by clicking on the name of a template in some list of templates (either on the Partition Tables page, the Provisioning Templates page, or the Job Templates page):
Hosts > Partition tables >> name of a template
Hosts > Provisioning templates >> name of a template
Hosts > Job templates >> name of a template
The template window exists both to display information on some template, as well as to edit it. It is organized into several tabs:
- The Help tab displays inbuilt documentation on template syntax (see below).
The following screen shot shows (part of) the Help tab: