7.1

Table Of Contents
n
dmidecode as required by cloud providers
n
Common requirements such as sed, awk, perl, chkconfig, unzip, and grep depending on your Linux
distribution
For related information about Linux prerequisites, see the prepare_vra_template.sh script.
n
If you plan to remotely access the virtual machine using Linux ssh logging for troubleshooting or for
other reasons, install the OpenSSH server and client for Linux.
n
Remove network conguration artifacts from the network conguration les.
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/software/download/prepare_vra_template.sh
If your environment is using self-signed certicates, you might have to use the wget option --no-check-
certificate option. For example:
wget --no-check-certificate
https://vRealize_VA_Hostname_fqdn/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 conrmation 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.
6 Shut down the Linux virtual machine.
The script removes any previous installations of the Software bootstrap agent and installs the supported
versions of the Java Runtime Environment, the guest agent, and the Software bootstrap agent.
What to do next
On your hypervisor or cloud provider, turn your reference machine into a template, snapshot, or Amazon
Machine Image that your infrastructure architects can use when creating blueprints.
Updating Existing Virtual Machine Templates in vRealize Automation
If you are updating your templates, Amazon Machine Images, or snapshots for the latest version of the
Windows Software bootstrap agent, or if you are manually updating to the latest Linux Software bootstrap
agent instead of using the prepare_vra_template.sh script, you need to remove any existing versions and
delete any logs.
Linux
For Linux reference machines, running the prepare_vra_template.sh script script resets the agent and
removes any logs for you before reinstalling. However, if you intend to manually install, you need to log in
to the reference machine as the root user and run the command to reset and remove the artifacts.
/opt/vmware-appdirector/agent-bootstrap/agent_reset.sh
Configuring vRealize Automation
66 VMware, Inc.