
88
Creating a Kickstart Configuration File
To create a kickstart configuration file, perform the following steps:
1. Create the image directory on the HTTP server base location:
# cd /home/delladmin/ISOBootImages/esxi5.1_dell_ISOBoot_New
The name of the directory needs to be same as the image directory created on the
TFTP server.
2. Create a file named “ks.cfg” inside the image directory.
The content of the file will as shown below:
# Sample scripted installation file
# Accept the VMware End User License Agreement
vmaccepteula
# Set the root password for the DCUI and ESXi Shell
rootpw <PASSWORD>
clearpart --firstdisk=<FIRSTDISK> --overwritevmfs
# Install on the first local disk available on machine
install --firstdisk=<FIRSTDISK> --overwritevmfs
# Set the network to DHCP on the first network adapater, use the
specified hostname and do not create a portgroup for the VMs
<NETWORKCONTENT>
# reboots the host after the scripted installation is completed
reboot
%firstboot --interpreter=busybox
<FIRSTBOOTDATA>
• The value of <PASSWORD> will be replaced with the password string defined
in the Resource Adapter configuration file. The default value is iforgot.
• The value of <FIRSTDISK> will be replaced by local/usb, depending on the
boot sequence defined in the deployment template.
• The value of <NETWORKCONTENT> will be replaced for the DHCP or static IP
address configuration. The default configuration is dhcp. In case the value
of the IP address, subnet mask, and name-server is provided in the
inventory, then the static IP address configuration will be applied on the
server.
• The value of <FIRSTBOOT> will be replaced by the network configuration
template file, available inside the Resource Adapter package. The
configuration is based on the specifications for the Active System 1000
VMware Deployment document.
• The <FIRSTBOOT> configuration also includes:
o iSCSI initiator configuration
Commentaires sur ces manuels