########################################################### ## ## Filename: core.cfg (template for B.10.* systems - use core11.cfg ## for B.11.* systems) ## ## @(#) core.cfg $Revision: 10.12 $ ## ## Description: ## If the OS source is not an "SD" depot, the ## add_release/make_config commands are not applicable. This file ## gives an example of a config file that makes a core archive ## available for installing using Ignite-UX. ## ## To configure Ignite-UX to use an archive such as that created ## by the make_sys_image(1M) script, you should do the following: ## ## - Make an archive image of the desired system using the ## script /opt/ignite/data/scripts/make_sys_image (See ## make_sys_image(1M) for details). ## ## - Determine if you want to use ftp, NFS, or remsh to access ## the archive image, and locate the image on a server ## as appropriate. ## ## - Copy this config file to /var/opt/ignite/data/Rel_B.10.XX ## (depending on the release you are working on). ## ## - Edit the copy of this file and modify: ## - The IP addresses of the server. ## - The paths to archives. ## - sw_sel descriptions. ## - remove any extra sw_sel clauses. ## - run /opt/ignite/lbin/archive_impact on each ## archive and replace the "impacts" statements with ## those given by the archive_impact tool. ## ## - Edit the /var/opt/ignite/INDEX file. If you already ## have a configuration in the INDEX file that refers to an SD ## depot, then you will probably want to make a new "cfg" ## clause that does not have references to the core SD config ## files, and insert the path to this config file. ## The end result should look something like this: ## ## cfg "HP-UX B.10.20 via archive" { ## description "10.20 system using archives." ## "/opt/ignite/data/Rel_B.10.20/config" ## "/opt/ignite/data/Rel_B.10.20/core.cfg" ## "/var/opt/ignite/config.local" ## } ## ## - If you have additional archives or applications in a SD ## depot that you would like loaded along with this archive, ## you may create a config file for them and add it to the ## INDEX file entry as well. ## ## See make_config(1M) for creating config files for an SD ## depot. See the example file "noncore.cfg" for setting up ## application archives. ## ## - After making changes, always run "/opt/ignite/bin/instl_adm -T" ## to check the syntax. ## ########################################################### ######################################################### ## Software Sources ######################################################### sw_source "core archive" { description = "HP-UX Core Operating System Archives" load_order = 0 source_format = archive source_type="MT" # When using this config file with a tape or CD-ROM where # the archive is on the same piece of media, then un-comment # the next line to prevent a prompt to change media during # install. change_media=FALSE # The following 2 scripts should be reviewed to see if the # defined defaults are applicable. If you need to modify # them, copy them to /var/opt/ignite/scripts first and change # the paths here. #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 = "134.171.12.225:/diskb/ignite" # ftp_source and remsh_source are alternate ways to copy # the archive. An example of the ftp syntax: # ftp_source = "anonymous@15.1.54.123:iux" # remsh_source = "user@15.1.54.123" } ######################################################### ## Software Categories ######################################################### sw_category "Languages" { description = "Languages" } sw_category "HPUXEnvironments" { description = "HP-UX Operating Environments" } ###################################################### ## Operating Environments ## ##################################################### HARDWARE_MODEL ~ "9000/7.*" { ######################################################### ## S700 OS archives ######################################################### # # # THIS IS THE STANZA FOR US (K class use the next one) # # init sw_sel "golden image1" { description = "TAPE INSTALL FOR C200" 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 = "1" # ftp and remsh sources can use a full path: # archive_path = "/pub/IUXarchives/B.10.20_700_CDE.gz" # The data for the "impacts" statements are found # by running /opt/ignite/lbin/archive_impact 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 impacts = "/var" 5705Kb } = TRUE init sw_sel "golden image2" { description = "image2: English HP-UX 10.20 VUE" sw_source = "core archive" sw_category = "HPUXEnvironments" archive_type = gzip cpio archive_path = "B.10.20_700_VUE.gz" # # DO NOT EDIT THESE IMPACT LINES, EDIT THOSE ABOVE # impacts = "/" 421Kb impacts = "/sbin" 30086Kb impacts = "/opt" 78654Kb impacts = "/usr" 276420Kb impacts = "/var" 10059Kb } } else { # For S800's ######################################################### ## S800 OS archives ######################################################### # # # 800 series stanza -- not for C or J class -- just leave alone) # # init sw_sel "golden image1" { description = "image1: English HP-UX 10.20 CDE" sw_source = "core archive" sw_category = "HPUXEnvironments" archive_type = gzip tar archive_path = "B.10.20_700_CDE.gz" # Example ftp or remsh path: # archive_path = "/pub/IUXarchives/B.10.20_800_CDE.gz" # # DO NOT EDIT THESE IMPACT LINES, EDIT THE ONES ABOVE # 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 impacts = "/var" 5705Kb } = TRUE } ###################################################### ## Languages ## Specified so that the selector in the UI will ## not be empty. Cannot use the "core archive" sw_source ## because there is not archives associated with it. ## ## The "no select" sw_source is a no-op source since ## has is of "cmd" format, and does not have any scripts ## specified. Every sw_sel needs a sw_source. ## ##################################################### sw_source "no select" { source_format = cmd } init sw_sel "English" { description = "English Language Environment" sw_source = "no select" sw_category = "Languages" locale = { "SET_NULL_LOCALE:English", "C:English" } } = TRUE ###################################################### ## Keyboards ##################################################### _hp_keyboard = { "Not_Applicable", "PS2_DIN_US_English" } init _hp_keyboard = "PS2_DIN_US_English"