YaST2 Developers Documentation: Auto-Installation



functions
files
intro

Auto-Installation

modules/AutoinstScripts.ycp
Custom scripts

Imports

  • AutoinstConfig
  • Installation
  • Label
  • Mode
  • Service
  • Summary
  • URL

Includes

  • autoinstall/io.ycp

Global Functions

Local Functions

local mergeScripts () -> list<map>

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

Return value:
merged list

local AutoinstScripts () -> void

Constructor

global Export () -> map<string, list>

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 Summary

Return value:
summary

global deleteScript (string scriptName) -> void

delete a script from a list

Parameters:
scriptName

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

global typeString (string type) -> string

return type of script as formatted string

Parameters:
type
Return value:
type as translated string

global Write (string type, boolean special) -> boolean

Execute pre scripts

Parameters:
type
special
Return value:
true on success

YaST2 Developers Documentation