VMware VS4-ENT-PL-A Setup Guide - Page 144
About Installation and Upgrade Scripts, About the Default ks.cfg Installation Script
![]() |
View all VMware VS4-ENT-PL-A manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 144 highlights
vSphere Installation and Setup Table 7‑2. Boot Options for ESXi Installation (Continued) Boot Option Description ks=protocol://serverpath Performs a scripted installation with a script located on the network at the given URL. protocol can be http, https, ftp, or nfs. An example using nfs protocol is ks=nfs://host:porturl-path. The format of an NFS URL is specified in RFC 2224. ks=usb Performs a scripted installation, accessing the script from an attached USB drive. Searches for a file named ks.cfg. The file must be located in the root directory of the drive. If multiple USB flash drives are attached, they are searched until the ks.cfg file is found. Only FAT16 and FAT32 file systems are supported. ks=usb:/path Performs a scripted installation with the script file at the specified path, which resides on USB. ksdevice=device Tries to use a network adapter device when looking for an installation script and installation media. Specify as a MAC address, for example, 00:50:56:C0:00:01. This location can also be a vmnicNN name. If not specified and files need to be retrieved over the network, the installer defaults to the first discovered network adapter that is plugged in. nameserver=ip address Specifies a domain name server to be used for downloading the installation script and installation media. netdevice=device Tries to use a network adapter device when looking for an installation script and installation media. Specify as a MAC address, for example, 00:50:56:C0:00:01. This location can also be a vmnicNN name. If not specified and files need to be retrieved over the network, the installer defaults to the first discovered network adapter that is plugged in. netmask=subnet mask Specifies subnet mask for the network interface that downloads the installation script and the installation media. vlanid=vlanid Configure the network card to be on the specified VLAN. About Installation and Upgrade Scripts The installation/upgrade script is a text file, for example ks.cfg, that contains supported commands. The command section of the script contains the ESXi installation options. This section is required and must appear first in the script. About the Default ks.cfg Installation Script The ESXi installer includes a default installation script that performs a standard installation to the first detected disk. The default ks.cfg installation script is located in the initial RAM disk at /etc/vmware/weasel/ks.cfg. You can specify the location of the default ks.cfg file with the ks=file://etc/vmware/weasel/ks.cfg boot option. See "Enter Boot Options to Start an Installation or Upgrade Script," on page 142. When you install ESXi using the ks.cfg script, the default root password is mypassword. You cannot modify the default script on the installation media. After the installation, you can use the vSphere Web Client to log in to the vCenter Server that manages the ESXi host and modify the default settings. 144 VMware, Inc.
![](/manual_guide/products/vmware-vs4entpla-setup-guide-9cc0699/144.png)