# Converting a VM to a Template

In the vCloud Director interface you can convert a VM to a template and use it to deploy additional VMs, this is particularly useful if you have an SOE or a baseline you've configured in the VM and you want all additional VMs to be the exact same.

To do this follow the steps below:

**Step 1.** Login to the vCloud Director portal

<figure><img src="/files/ZrZCopgsba8GqsTCHrYg" alt=""><figcaption></figcaption></figure>

**Step 2.** Select the Virtual Datacenter that contains the VM you want to convert to a template

<figure><img src="/files/9UPCJGjQuWekK7Vhofiz" alt=""><figcaption></figcaption></figure>

**Step 3.** Find the Virtual Machine and click on 'Actions'

<figure><img src="/files/0yblazKqWXscSD99rHIJ" alt=""><figcaption></figcaption></figure>

**Step 4.** In the dropdown menu select 'Create Template'&#x20;

<figure><img src="/files/Q93Dd8WS5OAbeNlAsXbI" alt=""><figcaption></figcaption></figure>

**Step 5.** Select the Catalog you want to add the template to, adjust the name if necessary and click 'OK'. If you haven't created a catalog to store these templates in follow this guide [LINK](/support/services/cloud/infrastructure-as-a-service/administrative-tasks/what-is-a-catalog-and-how-to-create-one.md)

<figure><img src="/files/i1NjgEbstFOcBwUG4slM" alt=""><figcaption></figcaption></figure>

The system will now go through and create a template from the VM you've selected, and then when deploying new VMs you can select to deploy the VM using that template.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://kb.hostednetwork.com.au/support/services/cloud/infrastructure-as-a-service/virtual-machines-and-vapps/converting-a-vm-to-a-template.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
