Inject enterprise properties as VM variables
You can pass enterprise properties to VMs using cloud-init. An example use case for this feature is to call an external Windows License or AD server and automatically assign your VMs to the appropriate AD group when they deploy.
- VM variables and template variables have priority over enterprise properties with the same name
To add enterprise properties as VM variables when you create your VMs:
- Create an enterprise property with a Key called "vm_variables_csv"
- For the Value, enter a list of regular expressions in CSV format
The platform will try to match the expression with each property key string.
For example, for the following vm_variables_cvaa, bb.*, .*cc.*, .*dd
the platform will create VM variables with any property that is
- named "aa"
- starts with "bb"
- contains "cc"
- ends with "dd"
The platform will create VMs with the selected VM variables.
Remember that users can edit the VM variables before they deploy the VMs.
Copyright © 2006-2022, Abiquo Holdings SL. All rights reserved