Registering with a Bootstrap Script

You can register clients through the Uyuni Proxy with a bootstrap script. This is done almost the same way as registering clients directly with the Uyuni Server. The difference is that you create the bootstrap script on the Uyuni 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 Uyuni 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 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 <> with the host name of your client:

    cat <bootstrap> | ssh root@<> /bin/bash