network-data-output-type¶
A map of ssh public keys to install for the root user
The template network-data-parser.tmpl
parses the network-data
structure in a
consistent manner and set of rules. To reuse the parsing rules, include the template
in to other templates. Since golang templating can't pass variables from an
included template in to the scope of the operating template, we must rely on the
scripted language Varaible definitions.
Setting this Param to one of the supported types, will tell the network-data-parser.tmpl
to generate the correct Variable references for the targeted scripting language.
Supported scripted languages are:
shell
= Shell (BASH, SH, ZSH, BusyBox, ASH, ESXi Shell, etc)powershell
= PowerShellpython
= Python (2 and 3 compatible)
If the shell
environment type does not support the declare
function, it is
assumed that Arrays are not supported either. In this case, the Associative
Array and related debug (if requested) statements will not be generated in the
template. This is necessary to support environments like VMware ESXi BusyBox/ASH
shells.
The default value shell
(BASH, SH, BusyBox, ASH, etc).