Registering with a Bootstrap Script (Salt and Traditional)
You can register Salt or traditional 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.
Create a client activation key on the Uyuni server using the Web UI. For more information, see client-configuration:activation-keys.adoc.
On the proxy, execute the
mgr-bootstrapcommand 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
To view available options type
mgr-bootstrap --helpfrom the command line:
OPTIONAL: Edit the resulting bootstrap script.
Execute the bootstrap script directly on the clients or from the proxy with
<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