YaST2 Developers Documentation: Auto-Installation



functions
files
intro

Auto-Installation

modules/Profile.ycp
Profile handling

Imports

  • AutoinstConfig
  • Mode
  • XML

Includes

  • autoinstall/xml.ycp

Global Functions

global Profile () -> void

Constructor

global ReadProperties (map properties) -> void

Read Profile properties and Version

Parameters:
properties

global Import (map profile) -> void

Import Profile

Parameters:
profile

global Prepare () -> void

Prepare Profile for saving and remove empty data structs

global Reset () -> void

Reset profile to initial status

global Save (string file) -> boolean

Save YCP data into XML

Parameters:
file
Return value:
true on success

global SaveProfileStructure (string parsedControlFile) -> boolean

Save the current data into a file to be read after a reboot. @param -

Parameters:
parsedControlFile
Return value:
true on success
See:
Restore()

global ReadProfileStructure (string parsedControlFile) -> boolean

Read YCP data as the control file

Parameters:
parsedControlFile

global convertLVM (list<map> lvm_standalone) -> list<map>

Provide Compatibility to older distributions.

Parameters:
lvm_standalone
Return value:
LVM configuration integrated into partitioning resource

global convertRAID (list<map> raid_standalone) -> map

Provide Compatibility to older distributions.

Parameters:
raid_standalone
Return value:
RAID configuration integrated into partitioning resource

global Compat (map Install, map Configure) -> map<string, any>

General compatibility issues

Parameters:
Install
Configure
Return value:
converted profile

global ReadXML (string file) -> boolean

Read XML into YCP data

Parameters:
file

YaST2 Developers Documentation