Skip to content

Commit

Permalink
Fixes #37569 - Add package upload for SLES
Browse files Browse the repository at this point in the history
  • Loading branch information
USunyaev authored and ianballou committed Jul 1, 2024
1 parent 9dbfc29 commit 99f5cdb
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions app/views/foreman/job_templates/upload_profile.erb
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ feature: katello_upload_profile
#!/bin/sh
<% if @host.operatingsystem.family == 'Redhat' -%>
dnf uploadprofile --force-upload
<% elsif @host.operatingsystem.family == 'Suse' -%>
katello-package-upload --force
<% else -%>
package-profile-upload --force-upload
<% end -%>
Expand Down

0 comments on commit 99f5cdb

Please sign in to comment.