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.

Posted by: SXI ADMIN

The author is the creator of SXI LLC and a seasoned sysadmin, DevOps engineer, and a trainer for the Linux operating system/Unix shell scripting. Get the latest tutorials on SysAdmin, Linux/Unix and open source topics via RSS/XML feed or weekly email newsletter.

Leave a Reply

Your email address will not be published. Required fields are marked *

Previous Post

How to Make Website WCAG Compliant?

Next Post

Link download Kali Linux 2020.1 (ISO + Torrent)

Related Posts