Technical data

90 Appendix A
Sample Configuration File
# specify that the installation should be done non-interactively:
LLA_ADDR == "08000978BBBB" {
system_name = "swbba"
ip_addr = "15.1.54.138"
RUN_UI = FALSE
# Give users 10 seconds to respond to warnings before
# continuing with the automatic installation:
env_vars +="INST_ALLOW_WARNINGS=10"
}
This example can be added to the /usr/lib/sw/hpux.install/config.local
file. It does not have the same 8 KB restriction as the examples above.
# Specify the possible SD-UX servers and depot locations. This example
# also shows how to use the "use model" variables to provide a
# selector that the user will see during the install:
radio_sel {
[ "Depot Server:.*" ]
}
"Depot Server:Jupiter" {
sd_depot_dir = "/depot/hp-ux_700"
sd_server = "15.1.54.112" # Jupiter
}
"Depot Server:Orion (CD-ROM)" {
sd_depot_dir = "/SD_CDROM" #depot on CD-ROM
sd_server = "15.1.54.20" # Orion
}
# For systems matching these lan-link addresses, specify that
# they execute the shown post_config_cmd. This particular
# post_config_cmd will copy over some extra files and some files
# that are specific for each system using tar(1) and remsh(1).
# The result depends on what is copied over, but if the files
# consist of the /etc/rc.config.d/netconf and other configuration
# files, the system will boot up without the need for further
# manual configuration.
LLA_ADDR == "08000978BBBB" | LLA_ADDR == "08000941C3BD"
{
post_config_cmd="
cd /;
remsh 15.1.54.114 \"(tar -cf - -C /sdux/systemenvs/generic . \
-C /sdux/systemenvs/`hostname` .)\" | tar -xvf -;
swinstall -s 15.1.54.112:/languages/depot XDB;
# If a RUN_ME file was copied over, run it:
[ -x /RUN_ME ] & /RUN_ME"
}
# Define a whole-system level use model for a system, and
# make it the default for that system (note that this is
# the same system that was configured to do an automatic
# install in the previous section).
init "SYS:Custom config for swbba" = (LLA_ADDR == "08000978BBBB")
"SYS:Custom config for swbba" {
init "Software Selection:Runtime Environment" = true
init "Software Language:Japanese" = true
init "Disk Layout:Logical Volume Manager" = true