≡ Menu

Red Hat: Set a Subscription Number Using a Kickstart File

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.

Share this tutorial on:

Like this? Follow us on Twitter OR support us by using Patreon

{ 3 comments… add one }
  • kamal July 19, 2009, 6:38 am

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

  • elvir August 15, 2010, 5:06 pm

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

    key –skip


  • Uday khairnar September 23, 2015, 6:32 pm

    Instillation number of rhel5.9

Security: Are you a robot or human?

Leave a Comment

You can use these HTML tags and attributes: <strong> <em> <pre> <code> <a href="" title="">

   Tagged with: , , , , , ,