Difference between revisions of "OpenNebula Templates"
Jump to navigation
Jump to search
Line 6: | Line 6: | ||
#:[[File:Templates_menu.png|thumb|none|upright=0.5]] | #:[[File:Templates_menu.png|thumb|none|upright=0.5]] | ||
#:<br> | #:<br> | ||
#Click on the "+" button to create a new template. | #Click on the "+" button to create a new template. See below. | ||
#Click "Create" button. | |||
===Configure Template=== | ===Configure Template=== | ||
The basic procedure is as follows: | The basic procedure is as follows: | ||
Line 33: | Line 34: | ||
* 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. | * 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. | ||
[[File:Template_rootpwd.png|thumb|none|upright=2.5]] | [[File:Template_rootpwd.png|thumb|none|upright=2.5]] | ||
==Update a Template== | ==Update a Template== |
Revision as of 15:16, 26 September 2016
Create a new Template
- Log into OpenNebula Sunstone.
- Go to “Virtual Resources” in the left menu and click on “Templates” in the drop down menu.
- Click on the "+" button to create a new template. See below.
- Click "Create" button.
Configure Template
The basic procedure is as follows:
- Add a template name in "General" menu.
- Add storage disks in "Storage" menu.
- Add a network interface in "Network" menu.
- If a fixed ip address is required, click on "Advanced Option" button and type the fixed address in the "IP" field.
- In "Input/Output" menu, select "VNC" Graphics and tick "Generate Random Password".
- In "Context" menu, add SSH keys in the "Public Key" field and make sure that "Add SSH contextualization" and "Add Network contextualization" are ticked.
- 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.
Update a Template
- Log into OpenNebula Sunstone.
- Go to “Virtual Resources” in the left menu and click on “Templates” in the drop down menu.
- Click on the template and press "Update" button.
- Make the necessary changes and press the green "Update" button to save.