Description of problem: [RFE] Need hammer module to generate global registration commands Version-Release number of selected component (if applicable): - Satellite 6.9.0 Beta Additional info: - Feature request if for the hammer commands to perform the same actions that are done using the global registration feature. Generate the registration command to register the systems to the satellite. - As of now, there is no hammer module or any set of commands that can be used. In order to automate the entire process where generation can be also done.
Hi, this is indeed a bug, problem is that '--activation-keys' is required field, which shouldn't be. User can for example specify host group only and we can get the keys from the HG.
Moving back to assigned as the attached upstream PR has not been merged yet
PR fixing activation_key(s): - Foreman: https://github.com/theforeman/foreman/pull/8659 - Katello: https://github.com/Katello/katello/pull/9459
*** Bug 1978690 has been marked as a duplicate of this bug. ***
PR have been merged: https://github.com/Katello/katello/pull/9421
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (Moderate: Satellite 6.10 Release), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHSA-2021:4702