Auto-Installation |
modules/AIConfig.ycp |
This module handles the configuration for auto-installation |
|
|
Imports
- AIServer
- AutoInstall
- Misc
- Mode
Includes
- autoinstall/io.ycp
- autoinstall/xml.ycp
Variables
Functions
|
|
|
global MenuTreeData -> list
|
|
MenuTreeData
@return: list ofmodules
global AIConfig () -> void
|
|
Constructor
- Return value:
|
Initializes global language, either from Mode (/etc/install.inf)
or from /etc/rc.config |
global Import (map profile) -> void
|
|
Import Profile
- Parameters:
global PrepProfile () -> void
|
|
Prepare profile for saving and remove empty data structs
Remove class resource from Profile
global resetProfile () -> void
|
|
Reset profile to initial status
global SaveProfile (string filePath) -> boolean
|
|
Save YCP data into XML
- Parameters:
filePath |
path to file name |
global ReadProfile (string filePath) -> void
|
|
Read XML into YCP data
- Parameters:
filePath |
path to file name |
Provide Compatibility to older distributions.
Load()
- Return value:
|
Load Configuration settings |
global Parse (symbol action, string new_path) -> void
|
|
Parse()
@param action: Reset or default
- Parameters:
- Return value:
Save()
- Return value:
|
Save Configuration global settings |
|