6.0.2

Table Of Contents
%post (optional)
Runs the specied 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]
Species an interpreter to use. The default is busybox.
--timeout=secs
Species a timeout for running the script. If the script is not nished when
the timeout expires, the script is forcefully terminated.
--ignorefailure
=[true|false]
If true, the installation is considered a success even if the %post script
terminated with an error.
%firstboot
Creates an init script that runs only during the rst boot. The script has no eect on subsequent boots. If
multiple %firstboot sections are specied, they run in the order that they appear in the kickstart le.
N You cannot check the semantics of %firstboot scripts until the system is booting for the rst time. A
%firstboot script might contain potentially catastrophic errors that are not exposed until after the
installation is complete.
--interpreter
=[python|busybox]
Species an interpreter to use. The default is busybox.
N You cannot check the semantics of the %firstboot script until the system boots for the rst 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.
Table 92. Disk Device Names
Format Example Description
VML vml.00025261 The device name as reported by
the VMkernel
MPX mpx.vmhba0:C0:T0:L0 The device name
About the boot.cfg File
The boot loader conguration le boot.cfg species the kernel, the kernel options, and the boot modules
that the mboot.c32 boot loader uses in an ESXi installation.
The boot.cfg le is provided in the ESXi installer. You can modify the kernelopt line of the boot.cfg le to
specify the location of an installation script or to pass other boot options.
The boot.cfg le has the following syntax:
# boot.cfg -- mboot configuration file
#
# Any line preceded with '#' is a comment.
title=STRING
kernel=FILEPATH
Chapter 9 Upgrading Hosts
VMware, Inc. 181