You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: provisioning_virtual_machines_and_hosts/_topics/catalogs_and_services.md
+119Lines changed: 119 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -372,6 +372,125 @@ Service methods have been split based on purpose.
372
372
373
373
7. Click **Save** or **Add** if you are adding this to a new instance.
374
374
375
+
### Provisioning Dialog
376
+
377
+
The following example shows how to create a Provisioning Dialog that modifies the parameters for provisioning a small, medium, or large service.
378
+
379
+
The `provision-vm-small-med-large.asl` workflow runs for every provisioned VM and is responsible for modifying the VM size. This workflow is the Provisioning service entry point.
380
+
381
+
You need to set the Provisioning service entry point to workflow script. For example, this workflow is run for every provisioned Virtual Machine (VM), and modifies the VM size.
382
+
383
+
Use the following sections and follow them in order to provision a VM service, create a Provisioning Dialog and modify the parameters.
384
+
385
+
#### Create a workflow (optional)
386
+
387
+
**Note**: If you want to use the existing `provision-vm-small-med-large.asl` workflow script without any changes, you can skip this section and proceed to `Add a Workflow Repository` section.
388
+
389
+
1. Fork `https://github.com/ManageIQ/workflows-examples` repository or create your own repository.
390
+
2. Clone the repo locally by using the clone command:
2. Click **Configuration** > **Add new Repository**.
411
+
3. Provide the **Name** and **URL** for the repository:
412
+
-**Name**: Local name to identify this repository. For example, `Example Workflows`.
413
+
-**Url**: Git repository URL. For example, `https://github.com/ManageIQ/workflows-examples`.
414
+
-**SCM Branch**: Git repository branch name. For example, leave this field blank if you want to use the existing `provision-vm-small-med-large.asl` script from the master branch, or use a branch name like `sm-md-lg` if you have edited or created your own workflow script.
415
+
4. Click **Save**.
416
+
417
+
#### Create a Provisioning Dialog
418
+
419
+
Use the following steps to create a Provisioning Dialog.
Copy file name to clipboardExpand all lines: scripting_actions/_topics/automate_examples1.md
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -16,3 +16,5 @@ initiated by:
16
16
17
17
All invocations of an automate model must enter through the
18
18
`/System/Process` namespace.
19
+
20
+
You can use automation to create a Provisioning Dialog that modifies the provisioning parameters of a VM service. For more information, see [Example: Provisioning a VM service](../../provisioning_virtual_machines_and_hosts/_topics/catalogs_and_services.md#provisioning-dialog)
0 commit comments