UCSTemplate - addVirtualMediaRWToBootOrder


UCSTemplate - addVirtualMediaRWToBootOrder

Description :

This command adds a VirtualMedia Read Write to 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.

mainIndex

Integer

The index of VirtualMedia Read Write in the main boot order.Set the index to -1 to add the VirtualMedia Read Write at the end of the list .

Example

The following example adds a VirtualMedia Read Write to boot order of a template.

Script





blcli UCSTemplate addVirtualMediaRWToBootOrder DBKey:SDepotObjectKey:1-1 -1



 

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

BMC Server Automation Command Line Interface 8.7