How can I set a subscription number in a Kickstart file in Red Hat Enterprise Linux 5?
Kickstart is a network installation system for some Linux distributions including RHEL 5.
Kickstart is normally used at sites with many Linux systems, to allow easy installation and consistent configuration of new computers being set up.
Configurations can be built by hand, but the standard Red Hat installation program Anaconda will produce a kickstart configuration file at the end of any manual installation process. That can then be taken and used as a network kickstart installation template for other systems.
The kickstart file is a simple text file, containing a list of items, each identified by a keyword. You can create it by editing a copy of the sample.ks file found in the RH-DOCS directory of the Fedora or Red Hat Enterprise Linux Documentation CD, using the Kickstart Configurator application, or writing it from scratch. The Fedora or Red Hat Enterprise Linux installation program also creates a sample kickstart file based on the options that you selected during installation. It is written to the file /root/anaconda-ks.cfg. You should be able to edit it with any text editor or word processor that can save files as ASCII text.
The syntax is as follows in the Kickstart configuration file:
key (subscription number)
To skip the subscription number:
With above two option it is possible to either specify a subscription number during Kickstart with Red Hat Enterprise Linux 5, or to force the installer to skip the subscription number.Share this tutorial on: