UCSTemplate - removeSanHBAFromBootOrder
UCSTemplate - removeSanHBAFromBootOrder
Description :
This command removes a SAN HBA from a UCS template's boot order.
Use the templateKey argument to specify the DBKey of the template you want to modify. You can get the DBKey of the template by using the DepotObject : getDBKeyByTypeStringGroupAndName command.
Return type : Boolean
Command Input :
Variable Name | Variable Type | Description |
|---|---|---|
templateKey | com.bladelogic.om.infra.model.base.keys.SDepotObjectKey | The DBKey of the template you want to modify. |
index | Integer | The index of the element in the SAN HBA list in the template. Use 0 to specify the first SAN HBA, 1 to specify the second SAN HBA, and so on. |
Example
The following example removes the first SAN HBA (with an index of 0) from the boot order of a template.
Script
blcli UCSTemplate removeSanHBAFromBootOrder DBKey:SDepotObjectKey:1-1 0
Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*