Software Distributor Administration Guide for HP-UX 11i
Introduction to Software Distributor
Using the GUI and TUI Commands
Chapter 1 39
Preselecting Host Files
The defaults.hosts file contains lists of hosts that are used by the
GUI/TUI programs. This lets you use preselected choices for source and
target systems. These lists are stored in the $HOME/.swdefaults.hosts
or /var/adm/defaults.hosts files.
For each interactive command, target hosts containing roots or depots
are specified in this file by separate lists (hosts, hosts_with_depots).
The list of hosts are enclosed in {} braces and separated by white space
(blank, tab and newline). For example:
swinstall.hosts={hostA hostB hostC hostD hostE hostF}
swcopy.hosts_with_depots={hostS}
When you use the program, dialog boxes that let you choose a source
system from a list will display all hosts specified in defaults.hosts or
remembered from a previous session. Once a source is successfully
accessed, that host is automatically added to the list in the
defaults.hosts file and displayed in the dialog.
If there are no hosts specified in defaults.hosts, only the local host and
default source host appear in the lists.
If a host system does not appear in the list, you can enter a new name
from the GUI/TUI program.