rhsm
The rhsm Kickstart command is optional. It instructs the installation program to register and install RHEL from the CDN. It can also connect the installed system to Red Hat Lightspeed. Use this command only once.
The rhsm Kickstart command eliminates the requirement of custom %post scripts when registering the system.
- Options
-
--organization=- Uses the organization ID to register and install RHEL from the CDN.--activation-key=- Uses the activation key to register and install RHEL from the CDN. Option can be used multiple times, once per activation key, as long as the activation keys used are registered to your subscription.--connect-to-insights- Connects the target system to Red Hat Lightspeed.--proxy=- Sets the HTTP proxy.--server-hostname=- Sets the Satellite instance hostname for registration.
- To switch the installation source repository to the CDN by using the
rhsmKickstart command, you must meet the following conditions:- On the kernel command line, you have used
inst.stage2=<URL>to fetch the installation image but have not specified an installation source usinginst.repo=. - In the Kickstart file, you have not specified an installation source by using the
url,cdrom,harddrive,liveimg,nfsandostreesetup commands.
- On the kernel command line, you have used
- An installation source URL specified using a boot option or included in a Kickstart file takes precedence over the CDN, even if the Kickstart file contains the
rhsmcommand with valid credentials. The system is registered, but it is installed from the URL installation source. This ensures that earlier installation processes operate as normal.