Skip to content

Commit

Permalink
Direct the users to use the new CA refresh script instead of the rpm
Browse files Browse the repository at this point in the history
  • Loading branch information
ShimShtein committed Aug 1, 2024
1 parent 67b5f28 commit 708b947
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions packages/katello/katello/hostname-change.rb
Original file line number Diff line number Diff line change
Expand Up @@ -143,8 +143,7 @@ def next_steps_message
You will have to install the new bootstrap rpm and reregister all clients and #{@plural_proxy} with subscription-manager
(update organization and environment arguments appropriately):
yum remove -y katello-ca-consumer*
rpm -Uvh http://#{@new_hostname}/pub/katello-ca-consumer-latest.noarch.rpm
set -o pipefail && curl -sS "http://#{@new_hostname}/unattended/public/foreman-ca-refresh" | bash
subscription-manager register --org="Default_Organization" --environment="Library" --force
Then reattach subscriptions to the client(s) and run:
Expand Down

0 comments on commit 708b947

Please sign in to comment.