Chapter 3. Provisioning the command-line assistant to RHEL deployments with Red Hat Satellite
You can install the command-line assistant powered by RHEL Lightspeed to your host registered to Red Hat Satellite. For that, update the config --
command-line assistant endpoint, so that the RHEL system registered to Satellite can proxy command-line assistant by using the Satellite Server.
Prerequisites
- Your system is registered with Insights for Red Hat Enterprise Linux.
- You are using the command-line assistant on a host registered to a Satellite 6.17+ server or later versions.
- The Satellite Server must be connected to the internet.
- You have enabled the AppStream repository on the host to be able to install command-line assistant.
Procedure
Install command-line assistant powered by RHEL Lightspeed on your registered host.
Copy to Clipboard Copied! Toggle word wrap Toggle overflow sudo dnf install command-line-assistant
$ sudo dnf install command-line-assistant
-
Locate and open the
/etc/xdg/command-line-assistant/config.toml
file. In the
config.toml
file, replace the endpoint configuration option to point to your Satellite or Capsule hostname, for example:Copy to Clipboard Copied! Toggle word wrap Toggle overflow #The endpoint points to an API server. endpoint = "https://satellite.example.server.com/api/lightspeed/v1"
#The endpoint points to an API server. endpoint = "https://satellite.example.server.com/api/lightspeed/v1"
-
Save the changes in the
config.toml
file. Restart command-line assistant daemon (
clad
) for the changes to be effective::Copy to Clipboard Copied! Toggle word wrap Toggle overflow sudo systemctl restart clad
$ sudo systemctl restart clad