
3
Apply your changes and close the configuration file.
You can always change the workflow of the configuration steps when the default does
not meet your needs. Enable or disable certain modules in the workflow or add your
own custom ones.
To toggle the status of a module in the firstboot workflow, proceed as follows:
1
Open the
/etc/YaST2/firstboot.xml
configuration file.
2
Change the value for the
enabled
element from
true
to
false
to disable
the module or from
false
to
true
to enable it again.
<module>
<label>Time and Date</label>
<enabled config:type="boolean">true</enabled>
<name>firstboot_timezone</name>
</module>
3
Apply your changes and close the configuration file.
To add a custom made module to the workflow, proceed as follows:
1
Create your own YaST module and store the module file
module_name
.ycp
in
/usr/share/YaST2/clients
.
2
Open the
/etc/YaST2/firstboot.xml
configuration file.
3
Determine at which point of the workflow your new module should be run. In
doing so, make sure that possible dependencies to other steps in the workflow
are taken into account and resolved.
4
Create a new
module
element inside the
modules
container and add the appro-
priate subelements:
<modules config:type="list">
…
<module>
<label>my_module</label>
<enabled config:type="boolean">true</enabled>
<name>filename_my_module</name>
</module>
</modules>
Deploying Customized Preinstallations
107
Содержание LINUX ENTERPRISE SERVER 10 - INSTALLATION AND ADMINISTRATION 11-05-2007
Страница 1: ...SUSE Linux Enterprise Server www novell com 10 May 11 2007 Installation and Administration...
Страница 14: ......
Страница 19: ...Part I Deployment...
Страница 20: ......
Страница 60: ......
Страница 128: ......
Страница 243: ...Part II Administration...
Страница 244: ......
Страница 274: ......
Страница 312: ......
Страница 348: ......
Страница 380: ......
Страница 381: ...Part III System...
Страница 382: ......
Страница 438: ......
Страница 452: ......
Страница 478: ......
Страница 486: ......
Страница 498: ......
Страница 512: ......
Страница 558: ......
Страница 559: ...Part IV Services...
Страница 560: ......
Страница 652: ......
Страница 670: ......
Страница 742: ......
Страница 754: ......
Страница 796: ......
Страница 817: ...Part V Security...
Страница 818: ......
Страница 858: ......
Страница 886: ......
Страница 910: ......
Страница 911: ...Part VI Troubleshooting...
Страница 912: ......
Страница 924: ......