Environment variables

With the env_vars configuration item, you can place environment variables into the environment of the programs that are run by Ignite-UX. Setting an environment variable is done in the following way:

env_vars += "TZ=JST-9"

The preceding example sets the time zone for the installation to Japanese Standard Time.

Although this time zone does not define daylight savings, if you set a time zone that does have daylight savings you should be very careful. Take, for example, the time zone Australian Eastern time zone (EST-10EDT). Since the installation file system does not have a tztab file, when the time zone US EASTERN (EST5EDT) is in daylight savings it assumes EST-10EDT is also in daylight savings. In reality these time zones never actually overlap because one is in the northern hemisphere and the other in the southern.

The following environment variables are special and affect the installation or recovery process:

INST_NET_RESPONSE_TIMEOUT—this variable provides safety for systems. The instl_adm(4) manpage states the following information about the variable:

When booting an install client from the network, this sets the amount of time that the system will wait for a user response before it reboots in assumption that the system booted from the install server accidentally.

Setting seconds to 0 (zero) will disable the timeout and the system will not prompt for a response.

If this value is set to >0 the following message appears:

Please press <return/enter> (within %d seconds) to continue loading the network-install utility:

If that times out, it is followed by the following message, so users know that the system is rebooting:

Unless you select <return/enter> within 10 seconds, the system will reboot:

If neither Enter nor Return is selected within 10 seconds, the system reboots.

INST_ALLOW_WARNINGS—this variable again provides for the safety of systems (or in this case, disks):

Setting this environment variable is useful for non-interactive install sessions when warnings about disks containing data cause the installation to switch to interactive mode. Setting seconds to 1 will cause all warnings to be ignored and the installation will proceed. Setting seconds to greater than 1 will allow the user that many seconds to read the warning and stop the installation by pressing <return>.

You should be very careful about setting this variable away from the default of 0. A non-default value can be dangerous when you are doing a clean installation or cloning a system (especially

152