Project

General

Profile

Actions

Feature #35916

open

Update kickstart_rhsm to allow registration to a satellite instance if katello is not installed.

Added by Doug Forster almost 2 years ago. Updated over 1 year ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
Templates
Target version:
-
Difficulty:
Triaged:
No
Fixed in Releases:
Found in Releases:

Description

Previously with the redhat_register template I was able to pass in a subscription_manager_certpkg_url which configured subscription manager to use the satellite instance. It seems this should be configurable with the new commands as well.

It seems we just need to make these configurable to something else if katello is not installed.
subman_hostname = " --server-hostname #{@host.content_source.rhsm_url.host}" if (plugin_present?('katello') && @host.content_source)
subman_rhsm_baseurl = " --rhsm-baseurl #{@host.content_source.pulp_content_url}" if (plugin_present?('katello') && @host.content_source)

A side note is that the above rhsm commands are not documented in RedHat's documentation.
https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/9/html/performing_an_advanced_rhel_9_installation/kickstart-commands-and-options-reference_installing-rhel-as-an-experienced-user#rhsm_kickstart-commands-for-installation-program-configuration-and-flow-control


Related issues 1 (1 open0 closed)

Copied from Templates - Feature #35914: Update kickstart_rhsm to allow registration to a satellite instance if katello is not installed. NewActions
Actions #1

Updated by Doug Forster almost 2 years ago

  • Copied from Feature #35914: Update kickstart_rhsm to allow registration to a satellite instance if katello is not installed. added
Actions #2

Updated by The Foreman Bot almost 2 years ago

  • Status changed from New to Ready For Testing
Actions #3

Updated by The Foreman Bot over 1 year ago

  • Status changed from Ready For Testing to New
  • Pull request deleted (https://github.com/theforeman/foreman/pull/9579)
Actions

Also available in: Atom PDF