![VMware VS4-ENT-PL-A - vSphere Enterprise Plus Скачать руководство пользователя страница 145](http://html1.mh-extra.com/html/vmware/vs4-ent-pl-a-vsphere-enterprise-plus/vs4-ent-pl-a-vsphere-enterprise-plus_setup-manual_1043341145.webp)
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:
n
CD/DVD. See
“Create an Installer ISO Image with a Custom Installation or Upgrade Script,”
on
page 128.
n
USB Flash drive. See
“Create a USB Flash Drive to Store the ESXi Installation Script or Upgrade Script,”
on page 127.
n
A network location accessible through the following protocols: NFS, HTTP, HTTPS, FTP
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
is the path to the ESXi installation script, where
XXX.XXX.XXX.XXX
is the IP address of the machine where the script resides. See
“About Installation and
Upgrade Scripts,”
on page 144.
To start an installation script from an interactive installation, you enter the
ks=
option manually. See
“Enter
Boot Options to Start an Installation or Upgrade Script,”
on page 142.
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
,
upgrade
, or
installorupgrade
. The
install
command creates the default partitions,
including a VMFS datastore that occupies all available space after the other partitions are created. The
install
command replaces the
autopart
command that was used for scripted ESXi 4.1 installations.
Chapter 7 Installing ESXi
VMware, Inc.
145
Содержание VS4-ENT-PL-A - vSphere Enterprise Plus
Страница 6: ...vSphere Installation and Setup 6 VMware Inc ...
Страница 8: ...vSphere Installation and Setup 8 VMware Inc ...
Страница 10: ...vSphere Installation and Setup 10 VMware Inc ...
Страница 28: ...vSphere Installation and Setup 28 VMware Inc ...
Страница 70: ...vSphere Installation and Setup 70 VMware Inc ...
Страница 100: ...vSphere Installation and Setup 100 VMware Inc ...
Страница 122: ...vSphere Installation and Setup 122 VMware Inc ...
Страница 138: ...vSphere Installation and Setup 138 VMware Inc ...