VMware VS4-ENT-PL-A - vSphere Enterprise Plus Setup Manual page 145

Setup guide
Table of Contents

Advertisement

The default script contains the following commands:
#
# Sample scripted installation file
#
# Accept the VMware End User License Agreement
vmaccepteula
# Set the root password for the DCUI and Tech Support Mode
rootpw mypassword
# Install on the first local disk available on machine
install --firstdisk --overwritevmfs
# Set the network to DHCP on the first network adapter
network --bootproto=dhcp --device=vmnic0
# A sample post-install script
%post --interpreter=python --ignorefailure=true
import time
stampFile = open('/finished.stamp', mode='w')
stampFile.write( time.asctime() )
Locations Supported for Installation or Upgrade Scripts
In scripted installations and upgrades, the ESXi installer can access the installation or upgrade script, also
called the kickstart file, from several locations.
The following locations are supported for the installation or upgrade script:
CD/DVD. See
n
page 128.
USB Flash drive. See
n
on page 127.
A network location accessible through the following protocols: NFS, HTTP, HTTPS, FTP
n
Path to the Installation or Upgrade Script
You can specify the path to an installation or upgrade script.
ks=http://XXX.XXX.XXX.XXX/kickstart/KS.CFG
XXX.XXX.XXX.XXX
Upgrade Scripts,"
To start an installation script from an interactive installation, you enter the ks= option manually. See
Boot Options to Start an Installation or Upgrade Script,"
Installation and Upgrade Script Commands
To modify the default installation or upgrade script or to create your own script, use supported commands.
Use supported commands in the installation script, which you specify with a boot command when you boot
the installer.
To determine which disk to install or upgrade ESXi on, the installation script requires one of the following
commands:
install
including a VMFS datastore that occupies all available space after the other partitions are created. The
command replaces the
install
VMware, Inc.
"Create an Installer ISO Image with a Custom Installation or Upgrade Script,"
"Create a USB Flash Drive to Store the ESXi Installation Script or Upgrade Script,"
is the IP address of the machine where the script resides. See
on page 144.
,
, or
upgrade
installorupgrade
command that was used for scripted ESXi 4.1 installations.
autopart
is the path to the ESXi installation script, where
on page 142.
. The
command creates the default partitions,
install
Chapter 7 Installing ESXi
on
"About Installation and
"Enter
145

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Vsphere 5.5

Table of Contents