##archives associated with it.
##The "no select" sw_source is a
##format, and does not have any scripts specified. Every sw_sel needs
##a sw_source.
########################################################################
sw_source "no select" { source_format = cmd
}
init sw_sel "English" {
description = "English Language Environment" sw_source = "no select"
sw_category = "Languages"
locale = { "SET_NULL_LOCALE:English", "C:English" } } = TRUE
If you wish to be able to select, for example, Japanese locales during installation, you would have to customize the configuration file to describe the locales available in the golden image. For example, you could replace the locale line above with the following configuration:
locale = { "ja_JP.SJIS:Japanese", "ja_JP.eucJP:Japanese",
"ja_JP.utf8:Japanese", "SET_NULL_LOCALE:English", "C:English" }
This would allow you to select any of the Japanese or English locales available on the system. Note that the "English" description can be misleading. The locale SET_NULL_LOCALE means the default system locale (POSIX/C) and C are explicitly the POSIX/C locale.
The locale line in the configuration file should not be wrapped; rather, it should be on one contiguous line. You should never add locales that do not exist in the golden image to the configuration.
The format of a entry in the locale list is:"<locale>:<description>"
Where <locale> is the name of the locale shown in the output of the "locale
You should also be aware that even though a locale might not be listed, it only means that it cannot be selected via the
The next section defines default keyboards. You could add other keyboards depending on your environment or replace the defaults with those applicable to you.
########################################################################
##Keyboards
##Newer machines use USB as the keyboard interface. This example
##shows a way to handle both older (PS2) and newer (USB) keyboards.
##There are many other keyboard types available, see itemap(1m).
200