Skip to content

esxi/disk-install-override-custom

Set the ESXi software install acceptance level.

Use this Param to specify additional custom templates to include in to the esxi-disk-install-override.tmpl tool for setting custom strategies for the ESXi disk selection for install location.

This is intended to inject ESXi BASH "name() { ... }" function stanzas in the existing esxi-disk-install-override.tmpl template to extend the functionality to include on-the-fly strategy types discovered in the field.

YAML Example:

- "my-esxi-disk-override-1.tmpl"
- "my-esxi-disk-override-2.tmpl"

JSON example:

[
  "my-esxi-disk-override-1.tmpl",
  "my-esxi-disk-override-2.tmpl"
]

Warning

The executing environment is ESXi kickstart installer (Weasel). You must ensure that the Function you inject operates correctly in this environment. For reference, see the Functions in the existing Template esxi-disk-install-override.tmpl.

Any functions MUST set the shell global variable named 'SET_DISK' to a correct value for defining which disk to install to. The values are documented in the ESXi documentation, for example:

Valid examples include:

  • --firstboot
  • --disk=mpx.vmhba1:C0:T0:L0