Pre-install script - ESXi 4.1 and 5.0


The Pre-Install Script tab lets you provide custom scripts for disk cleanup, hardware configuration, disk array configuration, and pre-disk partitioning.

Note

If you create a Provision Job and on the System Package Selection panel you select Skip Gentoo for the Associated Boot Image, the provisioning process does not execute this script.

  1. To specify a custom script, click Addg_V95_AddIcon.gif. (To edit an existing script, click Editg_V95_UpdateIcon.gif.)
  2. On the Pre-Install Script dialog, for Script Name, do one of the following:
    • Type the name of the script.
    • Type the name of a local property that contains a script name, enclosing the property name with double question marks.
    • Click Select Property to display a drop-down menu of available properties. Select the property that contains the script name from the list.
  3. For Script Contents, do one of the following:
    • Enter Gentoo Linux commands. The interpreter available in ESXi 4.1 and 5.0 is either BusyBox (the default) or Python. You can include disk part and other commands in the pre-install scripts. The system returns an error if a command used in the scripts is not supported by the interpreter.
    • Type the name of a local property that contains a script, enclosing the property name with double question marks.
    • Click Select Propertyg_V95_ParameterizeIcon.GIF to display a drop-down menu of available properties. Select the property that contains the script from the list.
  4. (Optional) Select Reboot after the script is executed to reboot the server after the script commands execute.

Proceed to the Disk-partition-ESXi-4-1-and-5-0 tab.

 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*