Here are the HP-UX 11i v1 sw_source and sw_sel examples:

sw_source "core archive" {

description = "HP-UX Core Operating System Archives" load_order = 0

source_format = archive source_type="NET"

.

.

.

post_load_script = "/opt/ignite/data/scripts/os_arch_post_l" post_config_script = "/opt/ignite/data/scripts/os_arch_post_c"

#If nfs_source is used, be sure to export the source.

nfs_source = "10.2.72.150:/var/opt/ignite/My_Golden_Images"

.

.

.

}

init sw_sel "golden image" { description = "Archive HP-UX 11.11 CDE" sw_source = "core archive" sw_category = "HPUXEnvironments" archive_type = gzip tar

#For NFS, the path to the archive is relative to the mount

#point specified in the sw_source:

archive_path = "hostname.gz"

#ftp/remsh sources can use a full path:

#archive_path = "/pub/IUXarchives/B.11.11_CDE.gz" impacts = "/" 23Kb

impacts = "/.dt" 35Kb impacts = "/TT_DB" 18Kb impacts = "/etc" 1375Kb impacts = "/export" 1Kb impacts = "/opt" 74079Kb impacts = "/sbin" 13449Kb impacts = "/stand" 1Kb impacts = "/tmp" 1Kb impacts = "/usr" 225459Kb impacts = "/var" 5736Kb

}= TRUE

3.Add the new configuration file (core_archive_cfg) to the Ignite-UX INDEX file:

Edit the /var/opt/ignite/data/INDEX file to add a new configuration to Ignite-UX. For this example, add a new cfg clause as follows:

cfg "HP-UX B.11.11 archive" {

description "some description of this archive..." "/opt/ignite/data/Rel_B.11.11/config" "/var/opt/ignite/data/Rel_B.11.11/core_archive_cfg" "/var/opt/ignite/config.local"

The line for the golden image is the one containing core_archive_cfg. The config and config.local files contain default configurations.

The /var/opt/ignite/config.local file should be the last file in the cfg clause. The last configuration file has the highest priority and can override values in the configuration files listed before it.

The file /opt/ignite/data/Rel_B.11.11/config supplies the disk and file system layout defaults, plus other control information required by Ignite-UX. It must be first in every cfg clause.

Each cfg clause appears as an available configuration to Ignite-UX. Therefore, the string HP-UX B.11.11 archive will now appear as a valid configuration choice.

156 Golden Images