Skip to content

esxi/ks-custom-kickstart

Set the ESXi software install acceptance level.

This Param allows an operator to create a list of additional "kickstart" directives to apply to generated kickstart file. These directives will be placed after the network template, but before any other %pre, %post, and/or %firstboot sections.

If you wish to add additional templates for %pre, %post, and/or %firstboot sections, use the esxi/ks-custom-sections param.

Multiple additional templates can be called with kickstart commands in them. Below is an example:

YAML Example:

esxi/ks-custom-kickstart:
  - "my-kickstart-1.ks.tmpl"
  - "my-kickstart-2.ks.tmpl"

JSON Example:

{
  [
    "my-kickstart-1.ks.tmpl",
    "my-kickstart-2.ks.tmpl"
  ]
}

Warning

Ensure that any commands you enter in your templates are valid kickstart directives.