You can modify a virtual system template and
use it to create a virtual system pattern. The template can be saved
in the catalog.
Before you begin
You must be assigned the Create new catalog content role or the Workload resources administration role with full permissions to complete this task.
Procedure
- Click .
- Select a virtual system template.
The template details are displayed to the right.
- Click the Edit in the Actions column
to modify the template.
The template opens in Pattern Builder.
- Edit the template as needed.
If the template was created before version 2.1.2.0
or promoted from a classic virtual system template,
you can add a parent_type
attribute to the application
model for each software component and
script package. The parent type is used to find matching components
if a particular version that is used in the pattern or template is
not found in the Installation Manager repository or Storehouse (the
prompt that is described in the note in Step 3). In this scenario,
the user is prompted to select a different version of the asset when
they open the pattern. This attribute is added automatically to templates
that were created in version 2.1.2.0 and later.
If
the parent type is not specific, such as
image
or
script
,
matches are not found. The parent type must be specific so that the
system can find matches when needed. You can view this attribute by
changing to the
Source tab in the
Pattern Builder.
For example, this
parent_type
attribute is specific
and helps the system find matches:
{
"attributes": {
"ACTION": "Show Client Status"
},
"id": "my test",
"type": "script:my test 2:1.0.0.1",
"parent_type": "script:my test"
}
This
parent_type
attribute
is not specific and does not help the system find matches:
{
"attributes": {
"ACTION": "Show Client Status"
},
"id": "my test",
"type": "script:my test 2:1.0.0.1",
"parent_type": "script"
}
If needed, you can add or modify
the parent_type
attribute from the Source tab.
Click Edit (the pencil icon) to put the application
model into edit mode. Make your changes, and then click Done
Editing (the pencil icon) to save your changes.
- Click Save.