Auto-installation |
modules/AutoInstall.ycp |
Auto-installation related functions module
Author: Anas Nashif
|
|
|
Imports
- BootGRUB
- BootLILO
- Installation
- Language
- Mode
- ModulesConf
- Report
- X11Version
- XML
Includes
Functions
|
|
|
global AutoInstall () -> void
|
|
Constructer
global ProcessProfile () -> boolean
|
|
Parse profile and set some values
global Restore () -> boolean
|
|
Restore the the current data from a file that has been saved before.
@param -
- Return value:
|
true - Data base file found. Restore successful.
false - No data base file found. |
- See:
-
Save the current data into a file to be read after a reboot.
@param -
- Return value:
- See:
-
global ParseCmdLine () -> boolean
|
|
Return location of profile from command line.
- Return value:
|
with protocol, server, path |
- Example:
-
autoyast=http://www.server.com/profiles/ |
global fstabSettings () -> list
|
|
Parse and prepare fstab settings
fstab["/dev/pts"] = $["spec":"devpts", "file":"/dev/pts", "vfstype":"devpts",
"mntops":"defaults", "freq":0, "passno":0];
- Return value:
|
fstab list to be used by write_fstab |
global generalSettings () -> void
|
|
Configure general settings
@param void
global bootloaderSettings () -> void
|
|
Configure bootloader settings
@param void
global postPackageList () -> list
|
|
Return post package list
- Return value:
global packageList () -> list
|
|
Parse package list
- Return value:
global softwareSettings () -> boolean
|
|
Configure software settings
@param void
global Finalize () -> void
|
|
Finalize autoinst settings
@param
global sysconfigSettings () -> void
|
|
Write sysconfig variables
@param void
global scriptSettings (string type) -> void
|
|
Execute pre scripts
- Parameters:
global lvmSettings () -> void
|
|
Create LVM partition plans
@param void
global raidSettings () -> void
|
|
Create RAID partition plans
@param void
global CopyFiles () -> void
|
|
Copy custom configuration files to system.
@param void
local WriteSysconfigValue (string file, string key, string value) -> void
|
|
Write a single sysconfig value
- Parameters:
file |
filename to write to |
key |
of sysconfig variable |
value |
of sysconfig variable |
local ReadMenuEntries () -> list
|
|
read_plugins()
Read plugin configuration file
@return: map
global addSysconfigVar (string file, string key, string value, string package) -> void
|
|
Add a single entry to the Sysconfig list of variables
- Parameters:
global saveMiscData () -> void
|
|
Save misc autoinstallation data
|