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 into 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

Windows

For Windows reference machines, you remove the existing Software agent bootstrap and vRealize Automation 6.0 or later guest agent, and delete any existing runtime log files. In a PowerShell command window, run the commands to remove the agent and artifacts.

\opt\vmware-appdirector\agent-bootstrap\agent_bootstrap_removal.bat
\opt\vmware-appdirector\agent-bootstrap\agent_reset.bat