NOTE:
There is a specific documentation page to explain more about the concepts of Contextualisation.
Contextualisation on this page refers to what information is made available from OpenNebula to your VM. It is up to your VM to take this information and do something useful with it. Some packages exist for certain operating systems that may help, such as a
.deb
or an.rpm
version.
You can personalise the way you want contextualisation applied to your VM. The options are split into 4 subsections:
Under the Network & SSH subsection, you can choose to:
nic
s defined in the template
.NOTE:
Our first release of OpenNebula has OneGate not enabled.
On the user view
, under the Virtual Resources menu, there is an item called Files & Kernels. You can create file
s of Type Context there. Then, you can link them to the template
you are editing under the Files subsection of the Context tab. These files will then be made available on the contextualisation CD-ROM so that the VM can access them, and you can use them in your programs on your VM right away.
Alternatively, or at the same time, on the FILES_DS field you can write the raw line that should be copied into the template
describing file
s to include.
The Init scripts field allows you to specify scripts (programs) that must be run on the VM when the operating system within your VM is booting. You can specify several of them and in which order like: init.sh set_up_my_user.sh set_up_my_web_server.sh
You can add a list of variables you want to ask the user to fill in when she creates a VM out of the template
you are editing. When she instantiates the template
, a form will pop-up asking her to fill the variables you have specified. The values she provides will become available in the contextualisation CD-ROM as ⟨key, value⟩ pairs.
You pre-define extra ⟨key, value⟩ pairs of your own that will be included in the contextualisation CD-ROM.