Product SiteDocumentation Site

15.8.2. Making the Kickstart File Available on the Network

Network installations using kickstart are quite common, because system administrators can quickly and easily automate the installation on many networked computers. In general, the approach most commonly used is for the administrator to have both a BOOTP/DHCP server and an NFS server on the local network. The BOOTP/DHCP server is used to give the client system its networking information, while the actual files used during the installation are served by the NFS server. Often, these two servers run on the same physical machine, but they are not required to.
Include the ks kernel boot option in the append line of a target in your pxelinux.cfg/default file to specify the location of a kickstart file on your network. The syntax of the ks option in a pxelinux.cfg/default file is identical to its syntax when used at the boot prompt. Refer to Section 15.10, “Starting a Kickstart Installation” for a description of the syntax and refer to Example 15.2, “Using the ks option in the pxelinux.cfg/default file” for an example of an append line.
If the dhcpd.conf file on the DHCP server is configured to point to /tftpboot/pxelinux.0 on the BOOTP server (whether on the same physical machine or not), systems configured to boot over the network can load the kickstart file and commence installation.
Example 15.2. Using the ks option in the pxelinux.cfg/default file
For example, if foo.ks is a kickstart file available on an NFS share at, part of your pxelinux.cfg/default file might include:
label 1
  kernel Fedora19/vmlinuz
  append initrd=Fedora19/initrd.img ramdisk_size=10000 ks=nfs: