tutor:Kickstart
From Dgiref
Kickstart
The kickstart file is a simple text file, containing a list of items, each identified by a keyword. Be aware of the following issues:
- Sections must be specified in order
- Command section
- The %packages section
- The %pre and %post sections
- Items that are not required can be omitted.
- Omitting any required item results in the installation program prompting the user for an answer to the related item, just as the user would be prompted during a typical installation. Once the answer is given, the installation continues unattended (unless it finds another missing item).
- Lines starting with a pound sign (#) are treated as comments and are ignored.
- install (optional)
- Tells the system to install a fresh system rather than upgrade an existing system. This is the default mode. The install command and the installation method command must be on separate lines. For installation, you must specify the type of installation from
- cdrom,
- harddrive,
- nfs, or
- url (for FTP or HTTP installations).
- Required items for install
- auth or authconfig
- bootloader
- keyboard
- lang
- langsupport
- mouse
- part or partition
- rootpw
- timezone
- Tells the system to install a fresh system rather than upgrade an existing system. This is the default mode. The install command and the installation method command must be on separate lines. For installation, you must specify the type of installation from
- upgrade (optional)
- Tells the system to upgrade an existing system rather than install a fresh system. You must specify one of
- cdrom,
- harddrive,
- nfs, or
- url (for FTP and HTTP) as the location of the installation tree.
- For kickstart upgrades, the following items are required:
- Language
- Language support
- Installation method
- Device specification (if device is needed to perform the installation)
- Keyboard setup
- The upgrade keyword
- Boot loader configuration
- Tells the system to upgrade an existing system rather than install a fresh system. You must specify one of
Usage
To use kickstart, you must:
- Create a kickstart file.
- Create a boot media with the kickstart file or make the kickstart file available on the network.
- Make the installation tree available.
- Start the kickstart installation.
Links
- http://www.redhat.com/docs/manuals/linux/RHL-7.3-Manual/custom-guide/ch-kickstart2.html
- http://www.centos.org/docs/5/html/5.2/Installation_Guide/s1-kickstart2-howuse.html
- http://www.redhat.com/docs/manuals/enterprise/RHEL-5-manual/Installation_Guide-en-US/s1-kickstart2-options.html
- http://www.redhat.com/docs/manuals/enterprise/RHEL-5-manual/Installation_Guide-en-US/ch-kickstart2.html
- http://www.pubbs.net/redhat/200908/22540/