Provisioning a VM from a template
In this recipe, we will build a deployment workflow for Windows and Linux VMs. We will learn how to create workflows and reduce the amount of input variables.
Getting ready
We need a Linux or Windows template that we can clone and provision.
How to do it…
We have split this recipe in two sections. In the first section, we will create a configuration element, and in the second, we will create the workflow.
Creating a configuration
We will use a configuration for all reusable variables. If you need help to create a configuration element, take a look at the Working with configurations recipe in Chapter 3, Visual Programming.
Build a configuration element that contains the following items:
Name |
Type |
Use |
---|---|---|
|
String |
This is the Windows product ID—the licensing code |
|
String |
This is the Windows domain FQDN to join |
|
Credential |
These are the credentials to join the domain |
|
VC:CustomizationLicenseDataMode |
Example... |