Registering with a Bootstrap Script (Salt and Traditional)

You can register Salt or traditional clients through the SUSE Manager Proxy with a bootstrap script. This is done almost the same way as registering clients directly with the SUSE Manager Server. The difference is that you create the bootstrap script on the SUSE Manager Proxy with a command line tool. The bootstrap script then deploys all necessary information to the clients. The bootstrap script requires some parameters such as activation keys or GPG keys. These parameters depend on your specific setup.

Procedure: Registering Clients to a Proxy with a Bootstrap Script
  1. Create a client activation key on the SUSE Manager server using the Web UI. For more information, see Activation Keys.

  2. On the proxy, execute the mgr-bootstrap command line tool as root. If needed, use the additional command line switches to tune your bootstrap script. To install a traditional client instead of a Salt client, ensure you use the --traditional switch.

    To view available options type mgr-bootstrap --help from the command line:

    mgr-bootstrap --activation-keys=key-string
  3. OPTIONAL: Edit the resulting bootstrap script.

  4. Execute the bootstrap script directly on the clients or from the proxy with ssh. Replace <bootstrap> with the name of the bootstrap script and <client.example.com> with the host name of your client:

    cat <bootstrap> | ssh root@<client.example.com> /bin/bash