Information
Unsupported content This version of the documentation is no longer supported. However, the documentation is available for your convenience. You will not be able to leave comments.

UCSTemplate - removeLanNicFromBootOrder


UCSTemplate - removeLanNicFromBootOrder

Description :

This command removes a LAN NIC 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 LAN NIC list in the template. Use 0 to specify the first LAN NIC, 1 to specify the second LAN NIC, and so on.

Example

The following example removes the first LAN NIC from the boot order of a template.

Script





blcli UCSTemplate removeLanNicFromBootOrder DBKey:SDepotObjectKey:1-1 0



 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*

BMC Server Automation Command Line Interface 8.5