16.3 Configuring Clients Using the clientSetup4SMT.sh Script

The /usr/share/doc/packages/smt/clientSetup4SMT.sh script is provided with SMT. This script allows to configure a client machine to use a SMT server or to reconfigure it to use a different SMT server.

To configure a client machine to use SMT with the clientSetup4SMT.sh script, follow these steps:

  1. Copy the /usr/share/doc/packages/smt/clientSetup4SMT.sh script from your SMT server to the client machine.

  2. As root, execute the script on the client machine. The script can be executed in two ways. In the first case, the script name is followed by the registration URL: ./clientSetup4SMT.sh registration_URL, for example, ./clientSetup4SMT.sh https://smt.example.com/center/regsvc. In the second case, the script name is followed by the --host option followed by hostname of the SMT server: ./clientSetup4SMT.sh --host server_hostname, for example, ./clientSetup4SMT.sh --host smt.example.com.

  3. The script downloads the server's CA certificate. Accept it by pressing y.

  4. The script performs all necessary modifications on the client. However, the registration itself is not performed by the script.

  5. Perform a registration by executing suse_register or running yast2 inst_suse_register module on the client.