Register on the Command Line (Salt)
Instead of the Web UI, you can use the command line to register a Salt client.
This procedure requires that you have installed the Salt package on the Salt client before registration.
For SLE 12 based clients, you also must have activated the Advanced Systems Management
module.
Registering on the command line is also possible with traditional clients, but it requires more steps. It is not covered here. Use the bootstrap script procedure to register traditional clients. For more information, see Register Clients with a Bootstrap Script. |
-
Choose a client configuration file located at:
/etc/salt/minion
or:
/etc/salt/minion.d/NAME.conf
This is sometimes also called a minion file.
-
Add the Uyuni Server or Proxy FQDN as the
master
, and the activation key, to the client configuration file:master: SERVER.EXAMPLE.COM server_id_use_src: adler32 enable_legacy_startup_events: False enable_fqdns_grains: False grains: susemanager: activation_key: "<Activation_Key_Name>"
-
Restart the
salt-minion
service:systemctl restart salt-minion
-
On the Uyuni Server, accept the new client key; replace
<client>
with the name of your client:salt-key -a '<client>'
To register and use CentOS 6, Oracle Linux 6, Red Hat Enterprise Linux 6, or SUSE Linux Enterprise Server with Expanded Support 6 clients, you need to configure the Uyuni Server to support older types of SSL encryption.
For more information about how to resolve this error, see |