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.
- Log in to your reference machine as the root user.
- Download the installation script from your vRealize Automation appliance.
If your environment is using self-signed certificates, you might have to use the wget option
--no-check-certificateoption. For example:
wget --no-check-certificate https://vRealize_VA_Hostname_fqdn:5480/service/software/download/prepare_vra_template.sh
- Make the prepare_vra_template.sh script executable.
chmod +x prepare_vra_template.sh
- Run the prepare_vra_template.sh installer script.
You can run the help command
./prepare_vra_template.sh --helpfor information about non-interactive options and expected values.
- 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.
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.