vCloud Director VS Recipe Custom Variables

You can define custom variables for particular virtual servers. Each custom variable is a name-value set that can be used during the virtual server recipe implementation. Custom variables are set on a per server basis. You can create custom variables via the virtual server Overview menu.


View Virtual Server Recipe Custom Variables



To view custom variables:

  1. Go to your Control Panel's Virtual Servers menu.
  2. You'll see a list of all virtual servers in your cloud. Click the name of a virtual server for which you want to view variables.
  3. On the virtual server details screen, click the Overview tab, then choose Recipes Variables. The page that loads shows the list of recipe custom variables for this virtual server.


Create Virtual Server Recipe Custom Variables



To create a new custom variable:

  1. Go to your Control Panel's Virtual Servers menu.
  2. You'll see a list of all virtual servers in your cloud. Click the name of a virtual server for which you want to create a variable.
  3. On the virtual server details screen, click the Overview tab, then choose Recipes Variables. The page that loads shows the list of recipe custom variables for this virtual server.
  4. On the screen that appears, click the "+" button.
  5. Specify the recipe name and its value.
  6. Move the Enabled slider to the right to allow use of this recipe.
  7. Click Save.

Edit Virtual Server Recipe Custom Variables



To edit a custom variable:

  1. Go to your Control Panel's Virtual Servers menu.
  2. You'll see a list of all virtual servers in your cloud. Click the name of a virtual server for which you want to edit a variable.
  3. On the virtual server details screen, click the Overview tab, then choose Recipes Variables. The page that loads shows the list of recipe custom variables for this virtual server.
  4. Click the Edit icon next to the required variable.
  5. Edit the recipe name and its value.
  6. Click Save.


Delete Virtual Server Recipe Custom Variables



To delete a custom variable:

  1. Go to your Control Panel's Virtual Servers menu.
  2. You'll see a list of all virtual servers in your cloud. Click the name of a virtual server for which you want to delete a variable.
  3. On the virtual server details screen, click the Overview tab, then choose Recipes Variables. The page that loads shows the list of recipe custom variables for this virtual server.
  4. Click the Delete icon next to the required variable. You will be asked for confirmation before the variable is deleted.