harddrive
Installation from a VFAT or ext2/ext3 partition on a local hard drive. Use the arguments --partition=
network
Configures IP networking for the installed system. If the system already has networking enabled (for example, because it booted from a PXE server), then that configuration is used for the rest of the installation, but if no network configuration has been set up for the installation and one is required, this configuration is used.
The argument --bootproto=
Note that the directory specified for the url or nfs options must contain the
To specify HTTP as the installation method on a system with two network interfacesone configured with DHCP and one with a static IPuse a configuration like this:
url --url=http://192.168.1.2/fc6/
network --bootproto=dhcp --device eth0
network --bootproto=static --device eth1
--ip 10.2.97.33 --netmask=255.255.255.0
If a Kickstartoption line ends with , it is continued on the next line.
If you are using Kickstart to perform an upgrade instead of an installation, use the upgrade option. Otherwise, use these options to lay out the storage:
zerombr
Clears any invalid partition tables. Use this option with just one argument: yes .
autopart
Sets up the default partition structure, which includes a
clearpart
Clears existing partition table entries. Use the argument --all to clear all partitions, --linux to clear all Linux partitions, --drives=
part or partition
Creates a disk partition. Provide an option identifying the mount point (such as
raid
Creates a RAID device from partitions defined with the part option. Use the argument --level=
volgroup
Creates a volume group. Supply the volume group name (such as main ) and a list of physical volumes ( pv.
logvol
Creates a logical volume. Use the --vgname=
For example, if you had a system with two 200 GB disks (as the master IDE/ATA drives on the primary and secondary disk controllers) with RAID 1 and LVM (see Lab 6.2, 'Managing RAID '), the storage layout options would look like this:
# General partitioning options
clearpart --all --initlabel --drives=hda,hdc
zerombr yes
# Partitions
# Two IDE disk drives, hda and hdc
part raid.01 --size 100 --ondrive=hda
part raid.02 --size 40000 --ondrive=hda
part raid.03 --size 40000 --ondrive=hda
part raid.04 --size 40000 --ondrive=hda
part raid.05 --size 40000 --ondrive=hda
part raid.06 --size 1 --ondrive=hda --grow
part raid.07 --size 100 --ondrive=hdc
part raid.08 --size 40000 --ondrive=hdc
part raid.09 --size 40000 --ondrive=hdc
part raid.10 --size 40000 --ondrive=hdc
part raid.11 --size 40000 --ondrive=hdc
part raid.12 --size 1 --ondrive=hdc --grow