app/views/foreman/job_templates/install_errata.erb in katello-3.6.0.1.rc2 vs app/views/foreman/job_templates/install_errata.erb in katello-3.7.0.rc1
- old
+ new
@@ -13,7 +13,12 @@
foreign_input_sets:
- template: Package Action - SSH Default
exclude: action,package
%>
-<% advisories = input(:errata).split(',').map { |e| "--advisory=#{e}" }.join(' ') %>
-<%= render_template('Package Action - SSH Default', :action => 'update-minimal', :package => advisories) %>
+<% if @host.operatingsystem.family == 'Suse' -%>
+ <% advisories = input(:errata).split(',').join(' ') %>
+ <%= render_template('Package Action - SSH Default', :action => 'install -n -t patch', :package => advisories) %>
+<% else %>
+ <% advisories = input(:errata).split(',').map { |e| "--advisory=#{e}" }.join(' ') %>
+ <%= render_template('Package Action - SSH Default', :action => 'update-minimal', :package => advisories) %>
+<% end %>