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 - addLocalDiskToBootOrder


UCSTemplate - addLocalDiskToBootOrder

Description :

This command adds a local disk 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 the local disk in the main boot order. Set the index to -1 to add the local disk at the end of the list.

Example

The following example adds a local disk to the boot order of a template.

Script





blcli UCSTemplate addLocalDiskToBootOrder 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.3