Note that there are no Operating Environment (OE) definitions. This is not possible because software packaged in SD format is required.

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

##Operating Environments

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

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

##OS archives

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

Next is an example 32-bit operating system archive sw_sel. Note that the logic in this stanza dictates that if the system can run 32-bit HP-UX, it becomes the default golden image to be installed. If you want to change this test so that any system that could run 64-bit HP-UX, you would replace the logic that sets the sw_sel to TRUE or FALSE in the golden image - 32 bit OS clause with !can_run_64bit and in the golden image - 32 bit OS clause replace the final test with can_run_64bit.

The use of exrequisite prevents users from choosing the 32-bit and the 64-bit core operating systems to load at the same time. Also, the use of visible_if prevents one or the other core operating system archive from appearing if the system can only run 32-bit or 64-bit HP-UX but not both. This is a good practice since you should not confuse users performing installations by offering software that cannot be installed onto the system as a choice.

If you are installing HP-UX B.11.23, you would remove the 32-bit sw_sel (since HP-UX B.11.23 for HP9000 systems does not provide a 32-bit kernel). If you needed to support a mixture of HP9000 and HP Integrity systems, consider placing it with the definition of an archive for HP Integrity systems.

init sw_sel "golden image - 32 bit OS" {

description = "English HP-UX 11.11 CDE - 32 Bit OS" 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 "nfs_source" keyword within the sw_source stanza

#above:

archive_path = "hp_client1_B.11.11_32bitCDE.gz"

#ftp and remsh sources can use a full path:

#archive_path = "/pub/IUXarchives/hp_client1_B.11.11_32bitCDE.gz"

#The data for the "impacts" statements are found by running:

#/opt/ignite/lbin/archive_impact -t -g <OS_archive>

impacts = "/"

27Kb

impacts = "/.dt"

35Kb

impacts = "/etc"

1864Kb

impacts = "/export"

1Kb

impacts = "/home"

1Kb

impacts = "/opt"

74096Kb

impacts = "/sbin"

13449Kb

impacts = "/stand"

1Kb

impacts = "/tmp"

1Kb

impacts = "/users"

40Kb

impacts = "/usr" 225951Kb

198