To update the content of an existing Linux or Windows template, or to use it for creating a new template, you must run applicable commands to remove the agent bootstrap service.

For a Linux template, the agent_reset.sh command resets the vCloud Application Director agent bootstrap status and deletes existing runtime log files. You can log in to the virtual machine as root and run this command:

/opt/vmware-appdirector/agent-bootstrap/agent_reset.sh

For a Windows template, the agent_reset.bat command deletes existing runtime log files. In a PowerShell command window, type the following command.

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

For the Windows template, you can also remove existing vCloud Application Director agent bootstrap and vCloud Automation Center 5.1 guest agent. In a PowerShell command window, type the following command.

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