Custom Attributes for Sun Solaris 10 and 11

The build script for Solaris OS Provisioning uses a number of custom attributes. Several of these custom attributes correlate with an equivalent setting that would be defined normally by a Solaris sysidcfg file.

You cannot modify the sysidcfg file that OS Provisioning uses. However, you can override specific values specified in the default sysidcfg file. You can set custom attributes for a Solaris OS Installation Profile in the SA Client.

The custom attributes correspond to the equivalent keywords in the sysidcfg file. See the following table.

Sun Solaris 10 and 11 Custom Attributes

Keyword

Description

archive_location

NFS path to a Flash Archive (flar) to use instead of operating system media.

Example Value: nfs://mediaserver.company.com
/flars/sunos5.10_basic.flar

boot_options

Solaris kernel parameters. These can be found in
/boot/grub/menu.lst on X86, as EEPROM values on SPARC machine systems, or bootenv.rc.

Example Value: Values will vary, see your Solaris documentation.

reboot_command

The command the OS Build Agent uses to issue a reboot during Solaris SPARC reprovisioning. The custom attribute value is not the entire command, rather it is the next boot command for the Open Boot PROM. The full command is
/usr/sbin/reboot -l -- 'net:dhcp - install,
only net:dhcp - install is replaced by the reboot_command value.

Example Value: net2:dhcp - install

root_password

Sets the encrypted value for the password on an installation client. One way to obtain an encrypted value is by using
/etc/shadow.

If a value is not set, the system will not have a root password.

Example Value: Field 2 from the /etc/shadow file

timezone

Sets the time zone for the configuration of the installation client (sets TZ in /etc/default/init). The directories and files in the directory /usr/share/lib/zoneinfo provide the valid time zone values.

By default, the time zone value is UTC.

For example, the time zone value for Pacific Standard Time in the United States is US/Pacific. You can also specify any valid Olson time zone.

Example Value: Any value in the
/usr/share/lib/zoneinfo directory on a solaris server.

system_locale

Sets the language for the configuration of the installation client (sets LANG in /etc/default/init). Valid locale values are installed in /usr/lib/locale. If you set this attribute, you should also use the locale keyword in the operating system profile so that the appropriate locale is installed.

By default, the value for this keyword is system_local=C.

Example Value: "C", "en_US.UTF-8", "ja_JP.UTF-8".

See http://developers.sun.com/dev/gadc/faq/locale.html

required_patches

No longer supported.

nfsv4_domain

Sets the system’s default NFS version 4 domain name. This value is substituted into /etc/default/nfs next to "NFSMAPID_DOMAIN=.

If this value is not set, OS Provisioning suppresses the prompt to confirm the NFS version 4 domain name when the server starts the first time.

Example Value: company.com

mrl

(Solaris 11) The MRL created by the import_media script. This is useful when you want to use an external repository.

http_proxy

(Solaris 11) Specify when you use HTTP repositories.

enable_root_user

(Solaris 11) Solaris 11 allows root to be defined as a role in the sc.xml file.

Presence of this custom attribute will trigger the user creation, even if 'no' value is set.

hostname

Specifies the hostname of the machine.