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.

DepotSoftware - updateSourceLocation_3


DepotSoftware - updateSourceLocation

Description :

This command updates the source location and associated information for a depot software installable.

For information on the sourceLocation, urlTypeName, and altNSHPath arguments, see updateSourceLocation .

Set sourceType to one of the following values:

  • AIX_PACKAGE_INSTALLABLE
  • AIX_PATCH_INSTALLABLE
  • CUSTOM_SOFTWARE_INSTALLABLE
  • HOTFIX_WINDOWS_INSTALLABLE
  • HP_BUNDLE_INSTALLABLE
  • HP_PATCH_INSTALLABLE
  • HP_PRODUCT_INSTALLABLE
  • IIS_HOTFIX_WINDOWS_INSTALLABLE
  • INSTALLSHIELD_WINDOWS_INSTALLABLE
  • MSI_WINDOWS_INSTALLABLE
  • RPM_INSTALLABLE
  • SERVICEPACK_WINDOWS_INSTALLABLE
  • SOLARIS_PACKAGE_INSTALLABLE
  • SOLARIS_PATCH_CLUSTER_INSTALLABLE
  • SOLARIS_PATCH_INSTALLABLE

Return type : DBKey

Command Input :

Variable Name

Variable Type

Description

groupName

String

Full path to the depot group containing the software installable.

name

String

Software display name.

sourceType

String

Software type name. Legal type names are listed above.

sourceLocation

String

URL for fully qualified NFS, SMB or NSH path to software.

skipCopySource

Boolean

True to not copy source to undo directory. False to copy source to undo directory.

urlTypeName

String

Deployable URL type name

altNSHPath

String

Alternate NSH path for file containing system info

Example

The following example specifies a software installable by group, name, and type, then updates this installable's source location and associated information.

Script





INSTALLABLE_KEY=`blcli DepotSoftware updateSourceLocation /mygroup test.rpm RPM_INSTALLABLE //myserver/path/to/test.rpm true AGENT_COPY_AT_STAGING //server2/another/path/to/test.rpm`



 

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

BMC Server Automation Command Line Interface 8.3