ПО МКА-3/en: различия между версиями

Новая страница: «Configuration files are generated by calling the dbic_gen_conf script. The script gets the variables for the configuration from the SCU, and then processes the fi…»
(Новая страница: «Package wb-dbic establishes and maintains templates of the configuration files in the directory /etc/wb-dbic/templates/. For example the template for the file /et…»)
(Новая страница: «Configuration files are generated by calling the dbic_gen_conf script. The script gets the variables for the configuration from the SCU, and then processes the fi…»)
Строка 26: Строка 26:
For example the template for the file /etc/network/interfaces is stored in the file /etc/wb-dbic/templates/etc/network/interfaces.template.
For example the template for the file /etc/network/interfaces is stored in the file /etc/wb-dbic/templates/etc/network/interfaces.template.


Конфигурационные файлы генерируются посредством вызова скрипта dbic_gen_conf.
Configuration files are generated by calling the dbic_gen_conf script.
Скрипт получает переменные для конфигурирования от SCU, после чего обрабатывает файлы из директории /etc/wb-dbic/templates.
The script gets the variables for the configuration from the SCU, and then processes the files in the directory /etc/wb-dbic/templates.
Обрабатываются только файлы с расширением .template.
Only files with the .template extension are processed.


Если для заданного файла становится невозможно получить все необходимые переменные для подстановки, то файл не обновляется.
Если для заданного файла становится невозможно получить все необходимые переменные для подстановки, то файл не обновляется.
12 063

правки