Sun Update Connection - Enterprise 1.0 User's Guide

Convert Snapshot to Profile (-csp) Command

The convert-snapshot-profile command converts a saved software inventory (a snapshot) of a host as a profile. All software listed in the snapshot is marked as Required on the profile; everything else is marked as Not Allowed.

Parameter

  • -h hostname Specify the name of the host.

  • -s snapshot-name Specify the name of the snapshot.

  • -P profile Specify the name of the profile.

Syntax

uce_cli -csp -h hostname -s snapshot-name -P "profile" -u username -p password

Example

uce_cli -csp -h lnxsrvr13 -s beforeUp -P oldSrv -u admin -p 123

To get a valid value for the -h parameter, use the -lah command. To get a valid value for the -s parameter, use the -lss command.