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.
- To specify a custom script, click Add
. (To edit an existing script, click Edit
.)
- 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.
- 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 Property
to display a drop-down menu of available properties. Select the property that contains the script from the list.
- (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*