Difference between revisions of "OpenNebula Templates"
Jump to navigation
Jump to search
Line 3: | Line 3: | ||
==Create new Template== | ==Create new Template== | ||
1. | 1.[[OpenNebula_Administrative_Functions | Log into OpenNebula Sunstone]]. | ||
2. Go to “Virtual Resources” in the left menu and click “Templates” in the drop down menu. | 2. Go to “Virtual Resources” in the left menu and click on “Templates” in the drop down menu. | ||
[[File:Templates_menu.png|thumb|none|upright=0.5]] | [[File:Templates_menu.png|thumb|none|upright=0.5]] | ||
3. Click "+" button to create a new template. | 3. Click "+" button to create a new template. | ||
4. Configure template. | 4. Configure template. | ||
Line 25: | Line 28: | ||
* In Context menu a root password could be defined under "Custom Vars". Add following value : KEY= ROOT_PASSWORD, VALUE= "password" and press "Add" button. | * In Context menu a root password could be defined under "Custom Vars". Add following value : 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]] | ||
5. Click "Create" button | 5. Click "Create" button | ||
Line 31: | Line 35: | ||
1. Open OpenNebula Sunstone and [[OpenNebula_Administrative_Functions | login]]. | 1. Open OpenNebula Sunstone and [[OpenNebula_Administrative_Functions | login]]. | ||
2. Go to “Virtual Resources” in the left menu and click “Templates” in the drop down menu. | 2. Go to “Virtual Resources” in the left menu and click “Templates” in the drop down menu. | ||
[[File:Templates_menu.png|thumb|none|upright=0.5]] | [[File:Templates_menu.png|thumb|none|upright=0.5]] | ||
3. Click on the template and press "Update" button. | 3. Click on the template and press "Update" button. | ||
4. Make the changes and press "Update" green button to save. | 4. Make the changes and press "Update" green button to save. |
Revision as of 10:01, 16 September 2016
Create new Template
1. Log into OpenNebula Sunstone.
2. Go to “Virtual Resources” in the left menu and click on “Templates” in the drop down menu.
3. Click "+" button to create a new template.
4. Configure template.
This is the basic procedure:
- 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 insert network configuration.
- Select "VNC" Graphics and tick "Generate Random Password" in "Input/Output" menu.
- Add SSH keys and flag "Add SSH contextualization" in "Context" menu.
- In Context menu a root password could be defined under "Custom Vars". Add following value : KEY= ROOT_PASSWORD, VALUE= "password" and press "Add" button.
5. Click "Create" button
Update a Template
1. Open OpenNebula Sunstone and login.
2. Go to “Virtual Resources” in the left menu and click “Templates” in the drop down menu.
3. Click on the template and press "Update" button.
4. Make the changes and press "Update" green button to save.