How do I use subscription-manager in a kickstart file?

Solution Verified - Updated -


  • I want to be able to use the subscription-manager command to register and subscribe a system from a kickstart file. What are my different options for doing that?


  • Red Hat Enterprise Linux 6.1 or higher
  • Red Hat Enterprise Linux 5.7 or higher
  • Red Hat Enterprise Linux 7

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content