Sun Update Connection - Enterprise 1.0 User's Guide

ProcedureTo Upload from a Managed Host

If you selected Managed Host, follow this procedure. Note that this procedure upload only one RPM at a time.

  1. Click the Select Host button of the Host Name field.

    The Host Selection window opens.

  2. Select the managed host that has the software, and click OK.

    The Host Selection window closes and the host name appears in the Host Name field of the Add Software window.

  3. In the File Name field, type the full path name of the package.

  4. Click Apply.

    The Status column indicates when the upload is done. You might have to wait until the console is updated with the changes; time depends on your local environment configuration.


Example 5–2 To Upload NCOs with the CLI

The Add Software Package command allows you to give a path name of a package for upload. The package should be on the local machine or on a mount point. The Distribution parameter is required in this command (the -ld command outputs a list), and you add the package to a single distribution at a time. See Add Software Package (-asp) Command.


#! /bin/bash

echo -n “Enter your user name:” 
read user 
echo -n “Enter your password:” 
read password 

echo “The list of active distributions is:” 
uce_cli -ld -u $user -p $password 
echo -n “Type the exact name of the distribution for this software:” 
read distro 
echo -n “Type the source path name of the file:” 
read pathname 
echo -n “Is this software a secured version of a previous one? (y | n)” 
read secure 

if [ “$secure” = “y” ]; then 
   uce_cli -asp -f “$pathname” -secure -D $distro -u “$user” -p “$password” 
else 
  uce_cli -asp -f “$pathname” -D $distro -u “$user” -p “$password” 
fi