for a core operating system archive if it is a recovery archive or a golden image; you can only have one archive at load order 0). The attribute change_media is set to FALSE because you do not want to be prompted to change the media. It does not make sense to change media when the source is over the network using NFS.

You then test to see if the source_type is "NET" and if it defines the nfs_source to point to the archive.

In the comments regarding other network access methods, the source_type variable defaults to the type of media the system was booted from (although this automatically becomes "NET" when an Ignite-UX server is being used, regardless of whether the system was booted from disk or tape).

Next, categories are defined because you are going to have to provide one sw_sel in the Languages category and another in the HPUXEnvironments category:

#########################################################

##Software Categories

#########################################################

sw_category "Languages" { description = "Languages"

}

sw_category "HPUXEnvironments"{

description = "HP-UX Operating Environments"

}

You can now define a sw_sel, called "golden image1", to hold the definition of the Recovery Archive. The init command is used to initialize the sw_sel and at the end of the definition it is set to TRUE. This allows the Ignite-UX GUI to change this value (although changing the value in this case does not make sense).

You then define the sw_source; the sw_source appears earlier in this configuration file. The sw_category for the sw_sel is set to HPUXEnvironments. This so that the description Recovery Archive appears in the Environments: selection list in the Ignite-UX GUI so it can be easily selected. The archive_type is then defined, in this case it is a gzipped tar file (refer to instl_adm(4) for other valid types).

Next, the archive path relative to the NFS mount point in the sw_source is given. The recovery archive is only visible if the system can run 64-bit HP-UX. If the sw_sel "golden image1" is selected, set _hp_os_bitness to 64, and then set the variable so it cannot be changed using the Additional button on the Basic tab of the Ignite-UX GUI.

######################################################

##Operating Environments

######################################################

#########################################################

##64-bit OS archives

#########################################################

init sw_sel "golden image1" { description = "Recovery Archive"

sw_source = "core archive"

sw_category = "HPUXEnvironments"

121