You use a single script to install the supported Java Runtime Environment, the guest agent, and the Software bootstrap agent on your Linux reference machine to create a template, snapshot, or Amazon Machine Instance that supports Software components.
Software supports scripting with Bash.
- Identify or create a Linux reference machine and verify that the following commands are available depending on your Linux system:
- yum or apt-get
- wget or curl
- dmidecode as required by cloud providers
- 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.
- 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.
- Remove network configuration artifacts from the network configuration files.
- Log in to your reference machine as the root user.
- Download the installation script from your vRealize Automation appliance.
wget https://vRealize_VA_Hostname_fqdn/software/download/prepare_vra_template.shIf 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/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.
./prepare_vra_template.shYou 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.
- Shut down the Linux virtual machine.
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.