YaST2 Developers Documentation: Configuration of Installation Server

Configuration of Installation Server

modules/Instserver.ycp
Installation Server settings, input and output functions

This module has an unstable interface.

Representation of the configuration of Installation Server. Input and output routines.

Imports

  • Call
  • IP
  • Message
  • Package
  • Popup
  • Progress
  • Report
  • SLP
  • Service
  • SuSEFirewall
  • Summary
  • XML

Includes

  • instserver/routines.ycp

Global Variables

Global Functions

Local Functions

global Modified () -> boolean

Prototypes

global modified -> boolean

Data was modified?

global AbortFunction -> boolean

Abort function return boolean return true if abort

global Abort () -> boolean

Abort function

global Modified () -> boolean

Data was modified?

Return value:
true if modified
global createLinks (string dir, string product, list<string> files) -> list<string>

Create links

Parameters:
dir
product
files
global createOrderFiles (string dir) -> boolean

Create yast directory with ordr/instorder files

Parameters:
dir
Return value:
booelan
local MountBind (string dir, string ftproot) -> boolean

Mount directory to avoid symlinks

Parameters:
dir
ftproot
Return value:
(true means that /etc/fstab has been modified)
local ConfigureService (string module_auto, any resource) -> boolean

Configure service using _auto

Parameters:
module_auto
resource
local ReadServiceSettings (string module_auto) -> any

Read service data using _auto

Parameters:
module_auto
global SetupFTP (string dir, string ftproot, string ftpalias) -> boolean

Setup FTP server

Parameters:
dir
ftproot
ftpalias
local RunSuseConfigApache (boolean enable) -> void

Write Apache config

Parameters:
enable
global SetupHTTP (string dir, string alias) -> boolean

Setup HTTP server

Parameters:
dir
alias
global SetupNFS (string dir, string options) -> boolean

Setup NFS Server

Parameters:
dir
options
global WriteSLPReg (map<string,any> cm) -> boolean

Write SLP configuration

Parameters:
cm
global Read () -> boolean

Read all instserver settings

Return value:
true on success
local PrepareConfigs () -> list

Prepare map for writing into XML

Return value:
lists of configurations
global Write () -> boolean

Write all instserver settings

Return value:
true on success
global configSetup () -> void

Create XML Configuration

global Import (map settings) -> boolean

Get all instserver settings from the first parameter (For use by autoinstallation.)

Parameters:
settings The YCP structure to be imported.
Return value:
True on success
global Export () -> map

Dump the instserver settings to a single map (For use by autoinstallation.)

Return value:
Dumped settings (later acceptable by Import ())
global Summary () -> list

Create a textual summary and a list of unconfigured cards

Return value:
summary of the current configuration
global Overview () -> list

Create an overview table with all configured data

Return value:
table items
global Instserver () -> void

Constructor