3.2.1 Creating a Kickstart File

A kickstart configuration file contains all the information that kickstart requires to perform an automated installation. Every Oracle Linux installation creates a kickstart file, /root/anaconda-ks.cfg. You can use this file to repeat an installation, or you can customize the settings in this file for different system configurations. The file is also useful for troubleshooting a boot-time problem with an installed system.

The following sections describe the structure of a kickstart file and demonstrate some of the available configuration options. Documentation for kickstart is included in the pykickstart package and can be found at /usr/share/doc/pykickstart-version/kickstart-docs.rst.

If you are upgrading from a previous Oracle Linux release, use the ksverdiff command (included in the pykickstart package) to check for removed and deprecated kickstart options. Starting with Oracle Linux 7, network interface device names have changed and are now based on information that is derived from the system BIOS, from a device's firmware, system path, or MAC address.

When you have prepared a kickstart configuration file, use the ksvalidator utility, which is included in the pykickstart package, to check that the syntax of the file is correct.