Sun Update Connection - Enterprise 1.0 User's Guide

Add Host (-ah) Command

The add-host command adds predefined host data to the system before agent installation. The agent on the host adds the host automatically. If there is already a host in the system with the given host name, the command results in an error.

Parameter

  • -h hostname Specify the name of the host.

  • -D distribution Specify the distribution to use. If not specified, the command operates on all distributions.

Syntax

uce_cli -ah -h hostname -D distribution -u username -p password

Example

uce_cli -ah -h wserver03 -D RH9_IA32 -u admin -p 123

To get valid values for the -D parameter, use the -ld command. The value of -h must not already be in the output of the -lah command.