Building a Template for Contextulization¶
In order to pass information to the instantiated VM template, the Context section of the vOneCloudVM Template can be used. These templates can be update in the Virtual Resources -> Templates tab of the vOneCloud GUI, and they can be updated regardless if they are directly imported from vCenter or created through the vOneCloud Templates tab.
Passing files and network information to VMs through contextualization is currently not supported
Different kinds of context information can be passed onto the VMs:
Network & SSH¶
You can add here an public keys that will be available in the VM at launch time to configure user access through SSH.
These inputs are a special kind of contextualization that built into the templates. At instantiation time, the end user will be asked to fill in information for the defined inputs, and the answers will be packed and passed onto the VM.
For instance, vOneCloud adminsitrator can build a VM Template that will ask for the MySQL password (the MySQL software will be configured at VM boot time and this password will be set) and for instance whether or not to enable WordPress:
The end user will then be presented with the following form when instantiating the previously defined VM Template
These are personalized information to pass directly to the VM, in the form of Key - Value.