Skip to content

Commit

Permalink
Don't install products on openSUSE client OSes
Browse files Browse the repository at this point in the history
openSUSE repos often contain multiple "product packages", that conflict.
The idea is that installer installs the correct product once and that's
it. In Uyuni, we currently install all products we can find. That does
not work because of the conflict.
  • Loading branch information
agraul committed Jul 17, 2023
1 parent 9372a09 commit fec45aa
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion susemanager-utils/susemanager-sls/salt/channels/init.sls
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ install_gnupg_debian:
{%- endif %}

{%- if not salt['pillar.get']('susemanager:distupgrade:dryrun', False) %}
{%- if grains['os_family'] == 'Suse' and grains['osmajorrelease']|int > 11 and not grains['oscodename'] == 'openSUSE Leap 15.3' %}
{%- if grains['os_family'] == 'Suse' and grains['osmajorrelease']|int > 11 and "opensuse" not in grains['oscodename']|lower %}
mgrchannels_install_products:
product.all_installed:
- require:
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
- Don't install product packages on openSUSE clients

0 comments on commit fec45aa

Please sign in to comment.