( _my_command_c_option ! ~ "^(abcdgh)[[:digit:]]+[[:digit:]]$") { error+=”The user must start with ab, cd, or gh followed by only digits”
} else {
note+=”The user chosen was “ + ${_my_command_c_option}
}
Try to restrict yourself to simple regular expressions. If complex regular expressions are needed, test them extensively against large amounts of potential values to ensure they behave the way you expect.
Configuration parameters in the installation file system
This section discusses configuration parameters that are most suited to being placed in an installation file system using instl_adm. The most likely reason you would place them in the installation file system would be that they need to be seen by
For more information regarding the configuration parameters discussed in this section, see "Configuration examples" and "Example Three (be careful what you ask for, you just might get it).”
NetworkingThe information in this section only applies to the usage of
The following networking configuration parameters are covered elsewhere in this document. For more information, see the following:
_hp_lanadmin_args (see "_hp_lanadmin_args") _hp_nfs_mount_opts (see "_hp_nfs_mount_opts") _hp_nfs_mount_retries (see "_hp_nfs_mount_retries") _hp_tftp_cmds (see "_hp_tftp_cmds")
The following networking options are best set within an installation file system since
The DHCP configuration parameters are mentioned here because
∙
dhcp_class_id[0/0/0]="Ignite_clients".
This item is extremely useful if you have no control over the other DHCP servers on the network and do not want to accept temporary IP addresses from those servers. For example, the following configuration splits
148