You can register clients through the {productname} Proxy with a bootstrap script. This is done almost the same way as registering clients directly with the {productname} Server.
The difference is that you create the bootstrap script on the {productname} 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 {productname} server using the {webui}. For more information, see client-configuration:activation-keys.adoc.
-
On the proxy, execute the
mgr-bootstrap
command line tool as {rootuser}. 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
-
OPTIONAL: Edit the resulting bootstrap script.
-
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