Difference between revisions of "OpenNebula Templates"

From CipherSpace Client Wiki
Jump to navigation Jump to search
Line 5: Line 5:
==Create a new Template==
==Create a new Template==
#[[OpenNebula_Administrative_Functions | Log into OpenNebula Sunstone]].
#[[OpenNebula_Administrative_Functions | Log into OpenNebula Sunstone]].
#Go to “Virtual Resources” in the left menu and click on “Templates” in the drop down menu.  
#Go to “Templates” in the left menu and click on “VMs” in the drop down menu.  
#:[[File:Templates_menu.png|thumb|none|upright=0.5]]
#:[[File:Templates_menu.png|thumb|none|upright=0.5]]
#:<br>
#:<br>
Line 41: Line 41:
==Update a Template==
==Update a Template==
#[[OpenNebula_Administrative_Functions | Log into OpenNebula Sunstone]].
#[[OpenNebula_Administrative_Functions | Log into OpenNebula Sunstone]].
#Go to “Virtual Resources” in the left menu and click on “Templates” in the drop down menu.  
#Go to “Templates” in the left menu and click on “VMs” in the drop down menu.
#:[[File:Templates_menu.png|thumb|none|upright=0.5]]
#:[[File:Templates_menu.png|thumb|none|upright=0.5]]
#:<br>
#:<br>
#Click on the template and press "Update" button.
#Click on the template and press "Update" button.
#Make the necessary changes and press the green "Update" button to save.
#Make the necessary changes and press the green "Update" button to save.

Revision as of 16:26, 14 December 2016

Create a new Template

  1. Log into OpenNebula Sunstone.
  2. Go to “Templates” in the left menu and click on “VMs” in the drop down menu.
    Templates menu.png

  3. Click on the "+" button to create a new template. See below.
  4. Click "Create" button.

Configure Template

The basic procedure is as follows:

  • Add a template name in "General" menu.
Template name.png


  • In "Storage" tab, choose a storage disk. If your template requires more disks, click on "Add another disk" and select it accordingly.
Template storage.png


  • In "Network" tab, select a Virtual Network, which the instantiated virtual machine(s) will be connected to. If your template requires more network interfaces, click on "Add another nic" and select it accordingly.
Template interface.png


  • If a fixed ip address is required, click on "Advanced Option" button and type the fixed address in the "IP" field.
Template adv net opt.png


  • In "Input/Output" menu, select "VNC" Graphics and tick "Generate Random Password".
Template vnc.png


  • In "Context" menu, add SSH keys in the "Public Key" field and make sure that "Add SSH contextualization" and "Add Network contextualization" are ticked.
Template context.png


  • In "Context" menu, you can define a root password under "Custom Vars". Add the following entries: KEY= ROOT_PASSWORD, VALUE= "password" and press "Add" button.
Template rootpwd.png

Update a Template

  1. Log into OpenNebula Sunstone.
  2. Go to “Templates” in the left menu and click on “VMs” in the drop down menu.
    Templates menu.png

  3. Click on the template and press "Update" button.
  4. Make the necessary changes and press the green "Update" button to save.