Before you perform a scripted ESXi installation or upgrade, if you are familiar with ESXi version 4.x scripted installation, note the differences between ESXi 4.x and ESXi 5.x scripted installation and upgrade commands.

In ESXi 5.x, because the installation image is loaded directly into the host RAM when the host boots, you do not need to include the location of the installation media in the installation script.

ESXi 5.x supports scripted upgrades in addition to scripted installation.

Command differences are noted in the following summary.

accepteula or vmaccepteula
Only in ESXi
autopart
Deprecated and replaced with install, upgrade, or installorupgrade.
auth or authconfig
Not supported in ESXi 5.x.
bootloader
Not supported in ESXi 5.x.
esxlocation
Deprecated and unused in ESXi.
firewall
Not supported in ESXi 5.x.
firewallport
Not supported in ESXi 5.x.
install, installorupgrade, upgrade
These commands replace the deprecated autopart command. Use one of these command to specify the disk to partition, and the part command to create the vmfs datastore. installorupgrade and upgrade are newly supported in ESXi 5.x.
serialnum
Deprecated in ESXi 5.0.x. Supported in ESXi 5.1.
vmserialnum
Deprecated in ESXi 5.0.x. Supported in ESXi 5.1.
timezone
Not supported in ESXi 5.x.
virtualdisk
Not supported in ESXi 5.x.
zerombr
Not supported in ESXi 5.x.
%firstboot
--level option not supported in ESXi 5.x.
%packages
Not supported in ESXi 5.x.