#5, First Floor, 4th Street , Dr. Subbarayan Nagar Kodambakkam, Chennai-600 024 pro@slogix.in

Office Address

  • #5, First Floor, 4th Street Dr. Subbarayan Nagar Kodambakkam, Chennai-600 024 Landmark : Samiyar Madam
  • pro@slogix.in
  • +91- 81240 01111

Social List

How to Create VM Templates in OpenNebula?
  • VM template is used to instantiate a new virtual machine to perform the execution. The creation of VM template involves the assignment of specifications for the corresponding VM, in which specification parameters such as VM RAM, VM Storage, VM Network and VM input types.
Step 1: Start OpenNebula

i) Login as the oneadmin user in Terminal.

Type the following command.
<one start>


(ii) Start the OpenNebula SunStone.

Type the following command.

<service opennebula-sunstone start>



Step 2: Login OpenNebula Sunstone

Go to https://localhost:9869 .

Login into OpenNebula Sunstone.


Username-oneadmin.

Password-xxxxxxxxx and click on “Login” button.

OpenNebula Dashboard screen will be displayed.



Step 3: Virtual Network Creation
  • In OpenNebula Dashboard, click the “VirtualNetworks” under the “Network” Tab which is appeared in the Left side menu.
  • Click the “+” button to add a new virtual network.

  • Set the Network parameters as per the following specifications:

    “General” TabName = "Network Name"


“Conf” Tab.

Bridge=”Your Bridge Name”.

Network Mode=”Bridged”.


“Addresses” Tab.

Select “IPv4”.

First IP address=”Mention the IP address”

Size=”your required IP address binding in network”.


  • Now Virtual Network is created in OpenNebula.

Step 4: Template Creation
  • Step 4: Template Creation
In OpenNebula Dashboard, click the “VM” under the “Templates” Tab which is appeared in the Left side menu.

  • Click on the “+” button to create a new template.

  • Template Creation :
  • “General” Tab

    Name = "Template name"
    Hypervisor=”kvm”
    Memory=”Your required RAM memory in GB”
    CPU=”Required CPU”
    VCPU=”Required VCPU”


  • “Storage” Tab

    Select Disk 0
    Type=image
    Add the ISO image

    Select Disk 1
    Type=image
    Add the Empty Disk Image


  • “Network” Tab

    Select your required virtual network


  • “OS Booting” Tab

    CPU Architecture=”ISO image Type”

  • Boot order

    Tick the ISO image and move into first position
    Tick the Empty disk image and move into Second position


  • “Input/Output” Tab

    Select “VNC”.
    Listen on IP=”0.0.0.0”.
    Inputs Type=”Mouse” and “ps2”.


  • “Context” Tab

    Tick the Add SSH contextualization
    Add the SSH Key in SSH public key box

  • Click “Create” button.

  • Now VM Templates is created in OpenNebula.
  • Any modification in VM Templates, Click the “update” button and change it.