Example 4

You can specify an entirely different custom configuration based on the size of the client’s RAM and disk size. To set the default configuration dynamically to put into effect, it must go into the [WVI]INSTALLFS file using instl_adm(1M) as in the following script excerpt:

#For a system with only one disk and small memory, select

#the "small system configuration"

(num_disks == 1 & memory < 256MB )

{cfg "small system configuration" = true}

Checking modified files for errors

You can validate the syntax of a file that is not yet in the /var/opt/ignite/data/INDEX file to avoid installation problems later, by entering the following:

instl_adm -T -f file

After you modify configuration files, always validate the syntax of all of the files that are referenced in the cfg clauses in the /var/opt/ignite/data/INDEX file, by entering the following:

instl_adm -T

Setting installation parameters dynamically 179