From f9b5e5bd252fc887aeb6a511328bf0b9b1bfbe5d Mon Sep 17 00:00:00 2001 From: Mike Hiretsky Date: Mon, 12 Dec 2011 13:06:46 +0400 Subject: [PATCH] Remove os_install_lang variable. --- man/cl-install.1 | 5 +++++ man/ru/cl-install.1 | 5 +++++ pym/cl_fill_install.py | 6 ------ pym/cl_install.py | 2 +- pym/cl_vars_install.py | 3 --- 5 files changed, 11 insertions(+), 10 deletions(-) diff --git a/man/cl-install.1 b/man/cl-install.1 index 229116e..011124a 100644 --- a/man/cl-install.1 +++ b/man/cl-install.1 @@ -60,6 +60,11 @@ Lets you choose your CPU's architecture. Valid values are "i686", "x86_64" and " Installing in interactive build mode. Is valid while installing on HDD. If specified, the live image will be mounted at booting in a separate layer of the aufs2 filesystem. Additional layers allow to separate the changes from the results. .RE .PP +\fB\-\-pxe\fR +.RS 4 +Installing for the booting of other computers using the network card. +.RE +.PP \fB\-l\fR, \fB\-\-lang\fR \fIlanguage\fR .RS 4 Language choice. Valid values are 'bg_BG' - Bulgarian, 'de_DE' - German, 'en_US' - English, 'es_ES' - Spanish, 'fr_FR' - French, 'it_IT' - Italian, 'pl_PL' - Polish, 'pt_BR' - Portugal Brazilian, 'pt_PT' - Portugal , 'ro_RO' - Romanian, 'ru_RU' - Russian, 'uk_UA' - Ukrainian. diff --git a/man/ru/cl-install.1 b/man/ru/cl-install.1 index a619a81..f27688c 100644 --- a/man/ru/cl-install.1 +++ b/man/ru/cl-install.1 @@ -60,6 +60,11 @@ DISK - раздел для установки или директория, в с Установка системы в режиме сборки. Поддерживается при установке системы на жесткий диск компьютера. В случае использования этого параметра, live-образ дистрибутива будет монтироваться во время загрузки в отдельный слой файловой системы aufs2. Дополнительные слои позволяют отделить вносимые изменения от результатов работы. .RE .PP +\fB\-\-pxe\fR +.RS 4 +Установка системы для загрузки других машин с помощью сетевой карты. +.RE +.PP \fB\-l\fR, \fB\-\-lang\fR \fIязык\fR .RS 4 Выбор языка. Допустимые значения: 'bg_BG' - болгарский, 'de_DE' - немецкий, 'en_US' - английский, 'es_ES' - польский, 'fr_FR' - французский, 'it_IT' - итальянский, 'pl_PL' - польский, 'pt_BR' - португальский бразильский, 'pt_PT' - португальский, 'ro_RO' - румынский, 'ru_RU' - русский, 'uk_UA' - украинский. diff --git a/pym/cl_fill_install.py b/pym/cl_fill_install.py index 9910e70..438dedc 100644 --- a/pym/cl_fill_install.py +++ b/pym/cl_fill_install.py @@ -1332,12 +1332,6 @@ class fillVars(object, glob_attr): if path.exists(convertDictOpt._fileSystemOpt[x]["makefs"]) else "no", self.Get('os_format_type')) - def get_os_install_lang(self): - """Supported languages""" - return list(sorted(list(set(clLocale().getLangs()) & - set(["en_US","de_DE","es_ES","fr_FR","it_IT","pl_PL","pt_BR", - "uk_UA","bg_BG","ru_RU","ro_RO","pt_PT"])))) - def get_os_install_scratch(self): """Install system in scratch mode""" return self.Get('os_scratch') diff --git a/pym/cl_install.py b/pym/cl_install.py index 4110eec..b1d6b1d 100644 --- a/pym/cl_install.py +++ b/pym/cl_install.py @@ -2590,7 +2590,7 @@ the system") + " (yes/no)" def setAllLocaleByLang(self,lang): """Set all locale variable by specified lang""" locale = clLocale() - if not lang in self.clVars.Get('os_install_lang'): + if not lang in self.clVars.Get('os_lang'): return False self.clVars.Set('os_install_locale_lang',lang, True) self.clVars.Set('os_install_locale_locale', diff --git a/pym/cl_vars_install.py b/pym/cl_vars_install.py index efb66ce..c162b7b 100644 --- a/pym/cl_vars_install.py +++ b/pym/cl_vars_install.py @@ -387,9 +387,6 @@ class Data: # avialable format by mkfs utility os_format_use = {} - # supported languages - os_install_lang = {} - # current grub os_grub_conf = {}