# Create VM's Template

## <mark style="color:green;">**Overview**</mark> <a href="#overview" id="overview"></a>

* HI GIO provides virtual machine (VM) template sizes and operating systems.
* The HI GIO template is a good place to start when you first deploy VMs into the HI GIO. However, you may want to create a template containing specific applications that you can use to deploy VMs quickly.
* Assume your VM has already installed OS and VMware tools and is preconfigured.

## <mark style="color:green;">**Procedure**</mark> <a href="#procedure" id="procedure"></a>

{% tabs %}
{% tab title="I. Customize your VM" %}
Prerequisites: VMware Tools must be installed & VM is **powered off**.

**Step 1:** On the **Virtual Data Center** dashboard screen, click the card of the virtual data center you want to explore, and from the left panel, select **Virtual Machines**.

<figure><img src="https://3953927389-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fbvay7AR0CH8vZKgD3dSy%2Fuploads%2FZNiuuTYK94GQ5O2iE6KS%2Fimage.png?alt=media&#x26;token=b8aec737-d16f-4265-a9c0-9ea65acd5909" alt=""><figcaption></figcaption></figure>

**Step 2:** Click **card view**

**Step 3:** On the card of the virtual machine that you want to start, click **DETAILS**.

<figure><img src="https://3953927389-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fbvay7AR0CH8vZKgD3dSy%2Fuploads%2Fv9fwwGaZVNfhThxwlO4c%2Fimage.png?alt=media&#x26;token=50bb4a55-455d-46a6-b360-87a265da3909" alt=""><figcaption></figcaption></figure>

**Step 4:** To enable\disable Hot-add for CPU\Memory, Click **Compute** > **Edit** (CPU section or Memory section)

{% hint style="warning" %}
**Attention:** VM’s state must be powered off.
{% endhint %}

<figure><img src="https://3953927389-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fbvay7AR0CH8vZKgD3dSy%2Fuploads%2FDVQCyXAY7MwkGaaqkBgi%2Fimage.png?alt=media&#x26;token=61223e82-981e-4873-9561-455ce8981677" alt=""><figcaption></figcaption></figure>

**Step 5:** Enable **toggle** and click **Save**

<div align="left"><figure><img src="https://3953927389-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fbvay7AR0CH8vZKgD3dSy%2Fuploads%2FbBw3xAl3FvrdR2r9cNdX%2Fimage.png?alt=media&#x26;token=8662e69c-9ef6-4818-bd0b-7f4f592f18b5" alt=""><figcaption></figcaption></figure></div>

<div align="left"><figure><img src="https://3953927389-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fbvay7AR0CH8vZKgD3dSy%2Fuploads%2FnBX7xKmA3Xt8bmjhjmiN%2Fimage.png?alt=media&#x26;token=46b3fc7b-fb6f-43a8-a37f-db3ceddd0bff" alt=""><figcaption></figcaption></figure></div>

{% hint style="warning" %}
**Attention: vSphere restriction attention: vSphere restriction**
{% endhint %}

1. VMware has set a maximum value for hot-add memory. By default, this value is 16 times the memory assigned to the virtual machine. (<https://kb.vmware.com/s/article/2020846>)
2. If you are running WM with Linux OS having less than 3GB RAM, you can change the memory to only 3GB RAM in total if you need more. You must power off the VM, increase memory to, for example, 4 GB RAM, and power it on again. (<https://kb.vmware.com/s/article/2008405>).

<figure><img src="https://3953927389-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fbvay7AR0CH8vZKgD3dSy%2Fuploads%2Fne019dbaZl7xFx6WxunX%2Fimage.png?alt=media&#x26;token=dae2103b-32d6-4bf3-bded-d6a0096d91c1" alt=""><figcaption></figcaption></figure>

**Step 6:** To customize Guest OS, Click **Guest OS Customization** > **EDIT**

<mark style="color:red;">**TIP**</mark><mark style="color:red;">:</mark> Guest OS Customization will help you prepare the logon, change the password, \ Join the Domain (just for Windows) in the first boot after deploying.

<figure><img src="https://3953927389-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fbvay7AR0CH8vZKgD3dSy%2Fuploads%2Fg40nwPhU82lEjumVfL8F%2Fimage.png?alt=media&#x26;token=75ddb413-8545-4d35-92d0-f4f48f20cb7c" alt=""><figcaption></figcaption></figure>

**Step 7:** On Edit Guest Properties

Depends on the guest OS – Linux or Windows. The view of this page has some differences:

* The **Enable guest customization** check box is selected.
* **Change the SID** option (for Windows OS)
* Select **Allow local administrator password**
* Select **Require administrator to change the password on the first login** to require all administrators to change the password upon initial login (Administrators must know the old password)
* Select **Auto Generate password** or **Specify password** (if you want to define it yourself).
* Join Domain (this session is for Windows OS)

<figure><img src="https://3953927389-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fbvay7AR0CH8vZKgD3dSy%2Fuploads%2FlTmfIymSWCzuNEbjHqeT%2Fimage.png?alt=media&#x26;token=fbcd3fa2-e3c9-4b67-a726-26ef64b2969f" alt=""><figcaption></figcaption></figure>

<figure><img src="https://3953927389-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fbvay7AR0CH8vZKgD3dSy%2Fuploads%2FGvt5QnTkZOrasZPWt6Sf%2Fimage.png?alt=media&#x26;token=080906a7-5ba4-4dc1-825b-02253e336a5c" alt=""><figcaption></figcaption></figure>

**Step 8**: Click **Save**
{% endtab %}

{% tab title="II. Creating VM templates" %}
**Step 1:** On the **Virtual Data Center** dashboard screen, click the card of the virtual data center you want to explore, and from the left panel, select **Virtual Machines**.

<figure><img src="https://3953927389-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fbvay7AR0CH8vZKgD3dSy%2Fuploads%2FO8j7YDUN4w3XfibrjPUx%2Fimage.png?alt=media&#x26;token=af5370f2-f1ae-4731-92ab-21e0acfe365b" alt=""><figcaption></figcaption></figure>

**Step 2:** Click **card view**

**Step 3:** On the card of the virtual machine that you want to start, click **ACTIONS**.

**Step 4:** Click **Create Template**

<figure><img src="https://3953927389-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fbvay7AR0CH8vZKgD3dSy%2Fuploads%2FnJjoUXeRfWe5NAiUn9Xo%2Fimage.png?alt=media&#x26;token=84c0c4c1-8fa7-40ea-9dce-0756150ffc9a" alt=""><figcaption></figcaption></figure>

On the Add to Catalog page

**Step 5:** Select the **catalog** that will store this template

**Step 6:** Enter the **Name** of the template

**Step 7:** Select **Customize VM** setting and click **OK** to process

<figure><img src="https://3953927389-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fbvay7AR0CH8vZKgD3dSy%2Fuploads%2Flm5YVeisyAN9tZ5NaPKD%2Fimage.png?alt=media&#x26;token=f0301dd9-7f9a-4878-ad7d-8ae77f0329ec" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
**The other way to create the template by upload your template to HI GIO**

The maximum import size is **50 GB**. Large image files or templates might take a long time to upload. For assistance with files **larger than** **50 GB**, request the support team.
{% endhint %}
{% endtab %}
{% endtabs %}
