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 Jun 22, 2023
1 parent 5b14574 commit 73e54f6
Showing 1 changed file with 1 addition 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

0 comments on commit 73e54f6

Please sign in to comment.