Feature #3842
closed
Add subscription-manager snippet
Added by Dominic Cleal almost 11 years ago.
Updated about 6 years ago.
Description
The default RHEL kickstart template uses rhnreg_ks in the redhat_register snippet to register the newly provisioned host, however this is now deprecated in favour of subscription-manager.
A new snippet should be added for rhsm support and the templates updated to use it. The snippet should support enabling non-default repos too.
(https://bugzilla.redhat.com/show_bug.cgi?id=1039910)
- Target version set to 1.9.2
- Assignee set to Sam Kottler
- Status changed from New to Assigned
I ran into this today and FWIW here my findings (with Dominic's help):
with hosted RHN there's no possibility to use activation keys at the moment, so I use this for now:
subscription-manager register --username <%= @host.params['rhn_username'] %> --password <%= @host.params['rhn_password'] %> --name <%= @host.name %> --auto-attach
and to get the the optional channel:
yum-config-manager --enable rhel-<%= @osver %>-server-optional-rpms
- Status changed from Assigned to Ready For Testing
- Target version deleted (
1.9.2)
- Translation missing: en.field_release set to 6
- Target version set to 1.9.2
- Target version changed from 1.9.2 to 1.9.1
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
- Translation missing: en.field_release set to 4
Also available in: Atom
PDF