1. Register on the Command Line (Salt)

Instead of the Web UI, you can use the command line to register a Salt client to a proxy. 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 traditional clients on the command line is also possible, but it requires more steps. It is not covered here. Use the bootstrap script procedure to register traditional clients. For more information, see Registering with a Bootstrap Script (Salt and Traditional).

Procedure: Registering Clients to a Proxy Using the Command Line
  1. 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.

  2. Add the proxy FQDN as the master to the client configuration file:

    master: PROXY123.EXAMPLE.COM
  3. Restart the salt-minion service:

    systemctl restart salt-minion
  4. On the server, accept the new client key; replace <client> with the name of your client:

    salt-key -a '<client>'