Cloud Agent Installation in Gold Image

Perform the following steps to install the Cloud Agent on a Gold Image. These steps are similar to installing a .rpm based Cloud Agent package.

  1. Start the Gold Image instance.
  2. Copy the .rmp based Cloud Agent package on the Gold Image instance.
  3. Install the Cloud Agent on the Gold Image using the following command.

    > sudo rpm -ivh qualys-cloud-agent.x86_64.rpm
  4. Run the Qualys Cloud Agent installation command:

    > sudo /usr/local/qualys/cloud-agent/bin/qualys-cloud-agent.sh ActivationId=xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx CustomerId=xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx ServerUri=<qualys_pod_url>/CloudAgent
  5. Stop the Cloud Agent service using the following command.

    > sudo service qualys-cloud-agent stop
  6. Stop the Gold Image instance and create an image from it. This completes the bake-in process.

The Cloud Agent activates and provisions itself when the Gold Image instance is restarted.