Red Hat: Set a Subscription Number Using a Kickstart File

by on April 13, 2008 · 2 comments· LAST UPDATED August 15, 2010

in

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:

key --skip

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.

TwitterFacebookGoogle+PDF versionFound an error/typo on this page? Help us!

{ 2 comments… read them below or add one }

1 kamal July 19, 2009 at 6:38 am

u are have a bad window system bcz it have no free installation number

Reply

2 elvir August 15, 2010 at 5:06 pm

I think you miss one “-” in key -skip, I suppose it should be

key –skip

Regards,
Elvir

Reply

Leave a Comment

Tagged as: , , , , , ,

Previous Faq:

Next Faq: