Registering with the Web UI on a Proxy
Registering Salt clients to a Uyuni Proxy using the Web UI is similar to registering clients directly with the Uyuni Server.
-
In the Uyuni Web UI, navigate to .
-
In the
Hostfield, type the fully-qualified domain name (FQDN) of the client to be bootstrapped. -
In the
SSH Portfield, type the SSH port number that will be used to connect and bootstrap the client. By default, the SSH port is22. -
In the
Userfield, type the username to log in to the client. By default, the username isroot. -
In the
Passwordfield, type password to log in to the client. -
In the
Activation Keyfield, select the activation key that is associated with the software channel you want to use to bootstrap the client. -
In the
Proxyfield, select the proxy server you want to register to. -
By default, the
Disable SSH Strict Key Host Checkingcheckbox is selected. This allows the bootstrap process to automatically accept SSH host keys without requiring you to manually authenticate. -
OPTIONAL: Check the
Manage System Completely via SSHcheckbox. If you check this option, the client will be configured to use SSH for its connection to the Server, and no other connection method will be configured. -
Click Bootstrap to begin registration. When the bootstrap process has completed, your client will be listed at .
Instead of the Web UI, you may use the command line to register a client through a proxy. This procedure requires that you have installed the Salt package on the client before registration, and have the Advanced systems module activated.
-
Add the proxy FQDN as the master in the clients configuration file located at:
/etc/salt/minion
or alternatively:
/etc/salt/minion.d/NAME.conf
-
Add the FQDN to the minion file:
master: proxy123.example.com
Save and restart the salt-minion service with:
systemctl restart salt-minion
-
On the Server, accept the new client key with:
salt-key -a 'client'
The client will now connect to the proxy exclusively for Salt operations and normal HTTP package downloads.