Bug #4967
closed
Katello Kickstart Default uses https for installing the bootstrap rpm
Added by Ivan Necas about 11 years ago.
Updated almost 7 years ago.
Description
But it fails on certs verification, as the ca cert is not there yet: either install
the the provisioned system and use http as output of 'subscription_manager_configuration_url'
The workaround is to specify the http url explicitly in the subscription_manager_registration snippet (this also contains a workaround for http://projects.theforeman.org/issues/4974) :
<% if @host.params['kt_org'] and @host.params['kt_activation_keys'] %>
# add subscription manager
yum -t -y -e 0 install subscription-manager
rpm -ivh http://your-host.example.com/pub/katello-ca-consumer-latest.noarch.rpm
echo "Registering the System"
subscription-manager register --org=<%= @host.params['kt_org']%> --name=<%= @host.name %> --activationkey=<%= @host.params['kt_activation_keys'] %>
<% end %>
<% if @host.puppetmaster && !@host.puppetmaster.empty? %>
subscription-manager config --rhsm.baseurl=https://<%= @host.puppetmaster %>/pulp/repos
<% end %>
- Status changed from New to Assigned
- Status changed from Assigned to New
- Status changed from New to Assigned
- Status changed from Assigned to Ready For Testing
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
Applied in changeset katello|commit:a8814534594083ec870c4c54200c9ec200b0c8d5.
- Triaged changed from No to Yes
- Translation missing: en.field_release set to 13
Also available in: Atom
PDF