OpenNebula Templates
Jump to navigation
Jump to search
Create a 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 on the "+" button to create a new template.
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 following value : KEY= ROOT_PASSWORD, VALUE= "password" and press "Add" button.
4. Click "Create" button.
Update a 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 on the template and press "Update" button.
4. Make the necessary changes and press the green "Update" button to save.