Revision 1d2db6e7
Added by Leos Stejskal almost 3 years ago
app/views/unattended/provisioning_templates/host_init_config/host_init_config_default.erb | ||
---|---|---|
|
||
<% end -%>
|
||
|
||
<% if plugin_present?('katello') && @host.operatingsystem.family == 'Redhat' -%>
|
||
echo "Refreshing subscription data"
|
||
subscription-manager refresh
|
||
|
||
<% end -%>
|
||
<%= update_packages if host_param_true?('host_update_packages') -%>
|
||
|
||
<%= snippet_if_exists('host_init_config_post') -%>
|
Also available in: Unified diff
Fixes #33004 - Registration - Refresh subscription data