Solaris Advanced Installation Guide

Preconfigure Language or Locale Using NIS+

This procedure assumes the NIS+ domain is set up. Setting up the NIS+ domain is documented in the Solaris Naming Administration Guide.

  1. Log in to a name server as root or as a user in the NIS+ admin group.

  2. Use the following nistbladm command to create the locale table.


    # nistbladm -D access=og=rmcd,nw=r -c locale_tbl name=SI,nogw= locale=,nogw= 
    comment=,nogw= locale.org_dir.'nisdefaults -d'
     
    
  3. Add an entry to the locale table by typing the following nistbladm command.


    # nistbladm -a name=domain_name locale=locale comment=comment 
    locale.org_dir.'nisdefaults -d'
    

    domain_name

    Is either the domain name or a specific system name for which you want to preconfigure a default language or locale. 

    locale

    Is the language or locale you want installed on the system and for displaying the desktop after the system is rebooted. See Appendix E, Language and Locale Values for a list of valid language and locale values.

    comment

    Is the comment field. Use double quotation marks to begin and end comments that are longer than one word. 


    Note -

    Not all languages or locales are available on all Solaris CDs. The language or locale you select will be used for installation if it is on the Solaris CD.


Systems specified by domain or individually in the locale table are now set up to use the default language or locale. The default language or locale you've specified will be used during the installation and for the desktop after the system is rebooted.