You can define custom variables for image templates. To do so:

  1. Go to your Control Panel > Cloud > Templates > Templates List menu.
  2. Click the Actions icon next to the template you want to change, then select Manage Custom Recipe Variables.
  3. On the screen that appears, click the + button to add a new recipe variable.
  4. Specify the recipe name and its value.
  5. Move the Enabled slider to the right to allow the use of this recipe.
  6. Click Save.

To edit a custom variable, click the Edit icon next to the required variable and change its details.

To delete a custom variable, click the Delete icon next to the variable you want to remove. You will be asked to confirm the deletion.

Custom variables are set on a per-server/template basis. It is possible to set custom variables for image templates, as well as for virtual servers. Each custom variable is a name-value set that can be used during the virtual server recipe execution. Virtual server custom variables will always overlay template custom variables.

See also:

Leave feedback