VMware, Inc. 115
Appendix B Remote and Scripted Installations
%packages Section
Thissectionspecifiespackagesforinstallation.The%packagessectionisrequiredfor
successfulinstallationandmustfollowthecommandssection.Thesectionconsistsof
thefollowingtwolines:
%packages
@ base
%pre Section
The%presectionletsyouspecifyascripttorunpriortoinstallation.Thissectionis
optionalandmustcomeafterthecommandssection.See theRedHatEnterpriseLinux 3:
SystemAdministrationGuideformoreinformationonpreinstallationscripting.
%post Section
The%postsectionletsyouspecifyascripttorunafterinstallation.Thissectionis
optionalandmustcomeafterthecommandssection.See theRedHatEnterpriseLinux3:
SystemAdministrationGuideformoreinformationonpostinstallationscripting.
%vmlicense_text Section
ThissectioncontainsthelicensefilefortheESX Serverinstallation.Omitthissectionif
youdidnotspecifysingle‐hostlicensing.Thissectionmustcomeafterthecommands
section.
Sample Kickstart File
ThefollowingisasamplekickstartfileforanESX Serverinstallationusingalicense
server:
# Installation Method
cdrom
# root Password
rootpw --iscrypted $1$MpéRëÈíÌ$n9sgFQJweS1PeSBpqRRu..
# Authconfig
authconfig --enableshadow --enablemd5
# BootLoader ( The user has to use grub by default )
bootloader --location=mbr
# Timezone
timezone America/Los_Angeles
# X windowing System
skipx
# Install or Upgrade
install