You can set guest variables to pass user data to your VMs before deployment. This functionality uses cloud-init and requires appropriate templates. In private cloud, the VM templates must have the guest setup flag set to cloud init. Tip |
---|
This functionality is available through the API. The platform stores variables in the VirtualMachine "variables" attribute, which is a dictionary of keys and values. See Update a virtual machine in VirtualMachinesResource |
You can add, modify or delete guest variables, BEFORE you deploy the VM. Add variables
Include Page |
---|
| Add VM variables |
---|
| Add VM variables |
---|
|
Edit variable valuesTo edit a variable: - Click the pencil edit button next to the value
- Click ok
- To apply changes to variables, and other changes to the VM, click Save
Delete variablesTo delete a variable: - Click the X in the left column beside the variable name.
- To apply changes to variables, and other changes to the VM, click Save
Read Guest Variables Include Page |
---|
| Read guest variables from a VM |
---|
| Read guest variables from a VM |
---|
|
|