Project

General

Profile

« Previous | Next » 

Revision d614feb8

Added by Stephen Benjamin almost 10 years ago

fixes #6853 - make host group provisioning work with katello

View differences:

app/views/foreman/unattended/kickstart-katello.erb
<%= snippet "subscription_manager_registration" %>
<% if @host.info["parameters"]["realm"] && @host.otp && @host.realm && @host.realm.realm_type == "FreeIPA" -%>
<% if @host.respond_to?(:realm) && @host.otp && @host.realm && @host.realm.realm_type == "FreeIPA" -%>
<%= snippet "freeipa_register" %>
<% end -%>
......
sync
<% if @provisioning_type == nil || @provisioning_type == 'host' -%>
# Inform the build system that we are done.
echo "Informing Foreman that we are built"
wget -q -O /dev/null --no-check-certificate <%= foreman_url %>
# Sleeping an hour for debug
<% end -%>
) 2>&1 | tee /root/install.post.log
exit 0

Also available in: Unified diff