6.2

Table Of Contents
7 Select the Prompt user check box to require the user to provide a value when they request a
machine.
Because host names must be unique, users can only request one machine at a time from this
blueprint.
8
Click the Save icon ( ).
9 Click OK.
Users who request a machine from your blueprint are required to specify a hostname for their machine.
vRealize Automation validates that the specified host name is unique.
Enabling Visual Basic Scripts in Provisioning
Visual Basic scripts are run outside of vRealize Automation as additional steps in the machine life cycle
and can be used to update the custom property values of machines. Visual Basic scripts can be used with
any provisioning method.
For example, you could use a script to generate certificates or security tokens before provisioning and
then use those certificates and tokens in provisioning a machine.
Note This information does not apply to Amazon Web Services.
When executing a Visual Basic script, the EPI agent passes all machine custom properties as arguments
to the script. To return updated property values to vRealize Automation, you must place these properties
in a dictionary and call a function provided by vRealize Automation.
The sample Visual Basic script PrePostProvisioningExample.vbs is included in the Scripts
subdirectory of the EPI agent installation directory. This script contains a header to load all arguments into
a dictionary, a body in which you can include your functions, and a footer to return updated custom
properties to vRealize Automation.
The following is a high-level overview of the steps required to use Visual Basic scripts in provisioning:
1 A system administrator installs and configures an EPI agent for Visual Basic scripts. See Installation
and Configuration.
2 A system administrator creates Visual Basic scripts and places them on the system where the EPI
agent is installed.
IaaS Configuration for Virtual Platforms
VMware, Inc. 172