Installation guide

If zerombr is specified, and yes is its sole argument, any invalid partition tables found on
disks are initialized. This destroys all of the contents of disks with invalid partition tables.
This command should be in the following format:
zerombr yes
No other format is effective.
zfcp (optional)
zfcp [--devnum=<devnum>] [--fcplun=<fcplun>] [--scsiid=<scsiid>]
[--scsilun=<scsilun>] [--wwpn=<wwpn>]
%include
Use the %include /path/to/file command to include the contents of another file in the kick-
start file as though the contents were at the location of the %include command in the kick-
start file.
4.1. Advanced Partitioning Example
The following is a single, integrated example showing the clearpart, raid, part, volgroup, and
logvol kickstart options in action:
clearpart --drives=hda,hdc --initlabel
# Raid 1 IDE config
part raid.11 --size 1000 --asprimary --ondrive=hda
part raid.12 --size 1000 --asprimary --ondrive=hda
part raid.13 --size 2000 --asprimary --ondrive=hda
part raid.14 --size 8000 --ondrive=hda
part raid.15 --size 1 --grow --ondrive=hda
part raid.21 --size 1000 --asprimary --ondrive=hdc
part raid.22 --size 1000 --asprimary --ondrive=hdc
part raid.23 --size 2000 --asprimary --ondrive=hdc
part raid.24 --size 8000 --ondrive=hdc
part raid.25 --size 1 --grow --ondrive=hdc
# You can add --spares=x
raid / --fstype ext3 --device md0 --level=RAID1 raid.11 raid.21
raid /safe --fstype ext3 --device md1 --level=RAID1 raid.12 raid.22
raid swap --fstype swap --device md2 --level=RAID1 raid.13 raid.23
raid /usr --fstype ext3 --device md3 --level=RAID1 raid.14 raid.24
raid pv.01 --fstype ext3 --device md4 --level=RAID1 raid.15 raid.25
# LVM configuration so that we can resize /var and /usr/local later
volgroup sysvg pv.01
logvol /var --vgname=sysvg --size=8000 --name=var
logvol /var/freespace --vgname=sysvg --size=8000 --name=freespacetouse
logvol /usr/local --vgname=sysvg --size=1 --grow --name=usrlocal
This advanced example implements LVM over RAID, as well as the ability to resize various dir-
ectories for future growth.
5. Package Selection
Use the %packages command to begin a kickstart file section that lists the packages you would
like to install (this is for installations only, as package selection during upgrades is not suppor-
ted).
Packages can be specified by group or by individual package name, including with globs using
4.1. Advanced Partitioning Example
265