YaST2 Developers Documentation: Auto-Installation



functions
files
intro

Auto-Installation

modules/AIScripts.ycp
Custom scripts

Includes

  • ui/common_messages.ycp

Functions

local AIScripts () -> void

Constructor

global Set (map s) -> void

Set module data

Parameters:
s

global Export () -> map

Dump the settings to a map, for autoinstallation use.

global Import (map s) -> boolean

Get all the configuration from a map. When called by autoinst_ (preparing autoinstallation data) the map may be empty.

Parameters:
s
Return value:
success

global Summary () -> string

Return value:
script configuration summary dialog

global deleteScript (string scriptName) -> void

delete a script from a list

Parameters:
scriptName
Return value:
modified list of scripts

global AddEditScript (string scriptName, string source, string interpreter, string type) -> void

Add or edit a script

Parameters:
scriptName script name
source source of script
interpreter interpreter to be used with script
type type of script
Return value:
-

local typeString (string type) -> string

return type of script as formatted string

Parameters:
type
Return value:
type as translated string

local mergeScripts () -> list

merge all types of scripts into one single list @param -

Return value:
merged list

YaST2 Developers Documentation