Software Distributor Administrator Guide (September 2010)
The swask command creates the catalog if it does not
already exist.
If the -c catalog option is omitted and the source is
local, swask copies the response files into the source
depot: distribution.path/catalog.
-C session_file
Run the command and save the current option and
operand values to a session_file for re-use in another
session. See “Session Files” (page 52).
-f software_file
Read a list of software selections from a separate file
instead of (or in addition to) the command line. See
“Software Files” (page 49).
-S session_file
Run the command based on values saved from a
previous installation session, as defined in
session_file. See “Session Files” (page 52).
-s source
Use the software source specified by source instead of
the default, /var/spool/sw. The syntax is: [host:]-
[/directory] | [./relative_path] |
[../relative_path]
host may be a host name, domain name, or internet
address (for example, 15.1.48.23). directory is an
absolute path. To specify a relative_path when no
host is specified, the relative_path must start with
./ or ../; otherwise, the specified name is considered
as a host.
-x option=value Sets a command option to value and overrides default
values or a values in options files. See “Changing
Command Options ” (page 296).
-X option_file Read session options and behaviors from option_file.
See “Changing Command Options ” (page 296).
software_selections
The software objects for which the request script will be
executed. See “Software Selections” (page 47).
target_selections
The target of the command. See “Target Selections”
(page 49).
Changing Command Options
You can change the behavior of this command by specifying additional command-line
options when you invoke the command (using the -x option) or by reading predefined
values from a file. The following table shows the options and default values that apply
to swask.
296 Using Control Scripts