Novell LINUX ENTERPRISE SERVER 10 - INSTALLATION AND ADMINISTRATION 11-05-2007 Installation Manual page 125

Table of Contents

Advertisement

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

Advertisement

Table of Contents
loading

This manual is also suitable for:

Suse linux enterprise server 10

Table of Contents