8.0

Table Of Contents
%pre (Optional)
Specifies a script to run before the kickstart configuration is evaluated. For example, you can use it
to generate files for the kickstart file to include.
--interpreter
=[python|busybox]
Specifies an interpreter to use. The default is busybox.
%post (Optional)
Runs the specified script after package installation is complete. If you specify multiple %post
sections, they run in the order that they appear in the installation script.
--interpreter
=[python|busybox]
Specifies an interpreter to use. The default is busybox.
--timeout=secs
Specifies a timeout for running the script. If the script is not finished
when the timeout expires, the script is forcefully stopped.
--ignorefailure
=[true|false]
If true, the installation is considered a success even if the %post script
stops with an error.
%firstboot
Creates an init script that runs only during the first boot. The script has no effect on subsequent
boots. If multiple %firstboot sections are specified, they run in the order that they appear in the
kickstart file.
Note You cannot check the semantics of %firstboot scripts until the system is booting for the
first time. A %firstboot script might contain potentially catastrophic errors that are not exposed
until after the installation is complete.
Important The %firstboot script does not run, if secure boot is enabled on the ESXi host.
--interpreter
=[python|busybox]
Specifies an interpreter to use. The default is busybox.
Note You cannot check the semantics of the %firstboot script until the system boots for the first
time. If the script contains errors, they are not exposed until after the installation is complete.
Disk Device Names
The install, upgrade, and installorupgrade installation script commands require the use of
disk device names.
VMware ESXi Installation and Setup
VMware, Inc. 93