Bug 1788211 - [RFE] As a user I need the katello kickstart template to use rhsm ks directive
Summary: [RFE] As a user I need the katello kickstart template to use rhsm ks directive
Keywords:
Status: CLOSED COMPLETED
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Provisioning Templates
Version: 6.7.0
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: Unspecified
Assignee: satellite6-bugs
QA Contact: Satellite QE Team
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-01-06 17:40 UTC by Partha Aji
Modified: 2023-08-07 09:16 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-05-30 11:12:01 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Foreman Issue Tracker 28635 0 Normal New As a user I need the katello kickstart template to use rhsm ks directive 2020-12-17 13:41:42 UTC

Description Partha Aji 2020-01-06 17:40:49 UTC
The anaconda kickstart for RHEL 8.2 and above includes a "rhsm" kickstart directive which one can use to register a provisioned host to a foreman instance.
The following tasks need to be accomplished for this

* Ensure this runs for RHEL 8.2 and above.
* Add a %pre section for embedding the katello-ca-certificate and add it to /etc/pki/ca-trust/source/anchors/katello-ca-cert.pem or /etc/rhsm/ca/katello-ca-cert.pem (we may need to add it in both places and run update)
* Add the new rhsm command to replace subscription-manager register template
* Add potential post script to update subman settings for package profile transaction (check the custom settings from https://github.com/theforeman/puppet-certs/blob/master/templates/rhsm-katello-reconfigure.erb)
* Add potential post script to make katello-ca cert to the consumers cert store
* Verify that < 8.2 are still on the old subman register mechanism.

Comment 3 Partha Aji 2020-01-06 17:42:06 UTC
Connecting redmine issue https://projects.theforeman.org/issues/28635 from this bug

Comment 4 Ron Lavi 2021-11-03 13:19:31 UTC
Is this still relevant?

Comment 6 Leos Stejskal 2023-05-30 11:12:01 UTC
The rhsm command has been implemented [0], for the suggested features I suggest creating a new BZ.
Since there were no responses for more than a year I'm closing the BZ as done.

[0] https://github.com/theforeman/foreman/pull/9399


Note You need to log in before you can comment on or make changes to this bug.