You want your template to support software components, so you must install both the guest agent and the software bootstrap agent on your reference machine. To simplify the process, you download and run a vRealize Automation script that installs both the guest agent and the software bootstrap agent instead of downloading and installing the packages separately.

Procedure

  1. Log in to your reference machine as the root user.
  2. Download the installation script from your vRealize Automation appliance.
    wget  https://vRealize_VA_Hostname_fqdn:5480/service/software/download/prepare_vra_template.sh

    If your environment is using self-signed certificates, you might have to use the wget option --no-check-certificate option. For example:

    wget --no-check-certificate https://vRealize_VA_Hostname_fqdn:5480/service/software/download/prepare_vra_template.sh
  3. Make the prepare_vra_template.sh script executable.
    chmod +x prepare_vra_template.sh
  4. Run the prepare_vra_template.sh installer script.
    ./prepare_vra_template.sh

    You can run the help command ./prepare_vra_template.sh --help for information about non-interactive options and expected values.

  5. Follow the prompts to complete the installation.

    You see a confirmation message when the installation is successfully completed. If you see an error message and logs in the console, resolve the errors and run the installer script again.

Results

You installed both the software bootstrap agent and its prerequisite, the guest agent, to ensure vRealize Automation architects who use your template can include software components in their blueprints. The script also connected to your Manager Service instance and downloaded the SSL certificate to establish trust between the Manager Service and machines deployed from your template. This is a less secure approach than obtaining the Manager Service SSL certificate and manually installing it on your reference machine in /usr/share/gugent/cert.pem.