Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Table of Contents

Excerpt

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 values

To edit a variable:

  1. Click the pencil edit button next to the value
  2. Click ok
  3. To apply changes to variables, and other changes to the VM, click Save
Delete variables

To delete a variable:

  1. Click the X in the left column beside the variable name.
  2. 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

...