YaST2 Developers Documentation: Auto-Installation



functions
files
intro

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:
profile

global PrepProfile () -> void

Prepare profile for saving and remove empty data structs

global removeClasses ()

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

local Compat () -> void

Provide Compatibility to older distributions.

global Load () -> void

Load()

Return value:
Load Configuration settings

global Parse (symbol action, string new_path) -> void

Parse() @param action: Reset or default

Parameters:
action
new_path
Return value:
Parse XML Profile

global Save () -> void

Save()

Return value:
Save Configuration global settings

YaST2 Developers Documentation