DepotSoftware - addRpmToDepotByGroupName


DepotSoftware - addRpmToDepotByGroupName

Description :

This command adds an RPM the Depot. The groupName argument is the depot group to which the software will be added. The softwareLocation argument identifies the RPM.

Return type : DBKey

Command Input :

Variable Name

Variable Type

Description

groupName

String

Full path to the depot group containing the RPM.

softwareLocation

String

Fully qualified NSH path to the RPM.

name

String

Display name of the RPM.

Example

The following example shows how to add an RPM to the Depot. Note that the location can only be a fully qualified NSH path to the RPM (for example, //host/path/to/rpm/application-1.2.3.rpm).

Script


DEPOT_GROUP=/rpm

RPM_LOC=//filestore1/rpms/custom-db-1.1.0.rpm

RPM_NAME="Install Custom db"

`blcli DepotSoftware addRpmToDepotByGroupName $DEPOT_GROUP $RPM_LOC $RPM_NAME`



 

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