Hi all
Do you know if the management of OpenSuSE systems, by Suse Manager, is documented somewhere?
Many thanks.
Hi all
Do you know if the management of OpenSuSE systems, by Suse Manager, is documented somewhere?
Many thanks.
I don’t know if it’s documented anywhere per se, here’s what I’ve done (for openSUSE 15):
There are two ways you can do this.
For the using the Management clients, you can do the following:
Create a bootstrap script to install the appropriate packages and register your client. Below an edited version of the one I use::
[INDENT]#!/bin/bash
cd /etc/zypp
mv repos.d repos.d-backup
cd /tmp/
zypper ar -f -G --name openSUSE-15_0-spacewalk
âhttp://download.opensuse.org/repositories/systemsmanagement:/spacewalk:/2.8/openSUSE_Leap_15.0/â openSUSE-15_0-spacewalk
zypper ref
zypper -n in osad rhn-check rhn-client-tools rhncfg rhncfg-actions rhncfg-management spacewalk-usix zypp-plugin-spacewalk rhnsd rhn-setup
wget http://susemanager.mydomain.tld/pub/RHN-ORG-TRUSTED-SSL-CERT -O /usr/share/rhn/RHN-ORG-TRUSTED-SSL-CERT
mkdir -p /usr/share/pki/trust/anchors
ln -s /usr/share/rhn/RHN-ORG-TRUSTED-SSL-CERT /usr/share/pki/trust/anchors/RHN-ORG-TRUSTED-SSL-CERT.pem
ln -s /usr/share/rhn/RHN-ORG-TRUSTED-SSL-CERT /etc/ssl/certs/RHN-ORG-TRUSTED-SSL-CERT.pem
c_rehash /etc/ssl/certs/
rhnreg_ks --serverUrl=https://susemanager.mydomain.tld/XMLRPC --sslCACert=/usr/share/rhn/RHN-ORG-TRUSTED-SSL-CERT --activationkey=REDACTED
systemctl enable osad
systemctl start osad
rhn-actions-control --enable-all
rhn_check
[/INDENT]
You can also install the âsalt-minionâ package and point it to your SUSE Manager server by modifying the âmaster:â directive in /etc/salt/minion. If youâre using an activation key, create â/etc/salt/grainsâ and add the following:
susemanager:
activation_key: 1-
Then enable and start the salt-minion service. Next youâll have to accept your clientâs certificate by going into the SUSE Manager web interface and going to Salt > Keys and accepting the key. You can also do this on a terminal using the âsalt-keyâ command. âsalt-key -Lâ will list the keys and âsalt-key-Aâ will accept all (youâll be prompted for each key)
[QUOTE=rousselotma;55728]Hi all
Do you know if the management of OpenSuSE systems, by Suse Manager, is documented somewhere?
Many thanks.[/QUOTE]
I didn’t see anything “googling”, but it’s not tough add OpenSUSE to SUMA, follow the same steps used to create the channels for centos7, for sure you need to change centos7 in the correct opensuse version you want, parse the file:
/etc/rhn/spacewalk-common-channels.ini
and check the correct name to use with the command:
spacewalk-common-channels -u admin -p secret -a x86_64 ‘’
consider to add also the correct spacewalk client for your opensuse, and create the activation key