Template - addAixPackageListPart
Template - addAixPackageListPart
Description :
This command adds an AIX package list to an existing template. This command returns a handle to the updated template. Note that this handle is different from any previously returned handles. All other handles are invalid.
Return type : DBKey
Command Input :
Variable Name | Variable Type | Description |
---|---|---|
templateKey | DBKey | Handle to the existing template to which you want to add the AIX package list. |
Example
The following example shows how to add the top level AIX Package node to a template. You can add other top level nodes without options in a similar manner:
Script
# Name of the existing template.
TEMPLATE_NAME="template1"
# Group template in which template is stored.
TEMPLATE_GROUP="/parent/group1"
# Get the template DBKey using the above information.
TEMPLATE_DBKEY=`blcli Template getDBKeyByGroupAndName $TEMPLATE_GROUP $TEMPLATE_NAME`
# Now add the node to the template.
TEMPLATE_DBKEY=`blcli Template addAixPackageListPart $TEMPLATE_DBKEY`
# Use the returned DBKey to add more items to the template.
Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*