YaST2 Developers Documentation: Auto-installation



functions
files
intro

Auto-installation

include/autoinstall/profileLocation.ycp
Parses XML profile

Imports

  • HTTP
  • Mode
  • StorageDevices
  • TFTP

Includes

  • network/ip.ycp

Functions

global ProtocolMessage (map cmdLine)

ProtocolMessag()

Parameters:
cmdLine
Return value:
message descriping location

global getMAC () -> string

Return MAC address of active device

global UseTFTP (map cmdLine, string localfile)

Retrieve the profile using TFTP

Parameters:
cmdLine
localfile Location where the retrieved file should be copied
Return value:
true for success
Example:
  UseTFTP ($[], "/tmp/profile.xml")

global UseNFS (map parameters, string localfile)

Retrieve the profile using NFS

Parameters:
parameters Map with value of the autoyast keyword (command line)
localfile Location where the retrieved file should be copied
Return value:
true for success
Example:
  UseNFS ($[], "/tmp/profile.xml")

global UseFLOPPY (map parameters, string localfile)

Retrieve the profile from a floppy disk

Parameters:
parameters Map with value of the autoyast keyword (command line)
localfile Location where the retrieved file should be copied
Return value:
true for success
Example:
  UseFLOPPY ($[], "/tmp/profile.xml")

global UseHTTP (map parameters, string localfile)

Retrieve the profile from a www server

Parameters:
parameters Map with value of the autoyast keyword (command line)
localfile Location where the retrieved file should be copied
Return value:
true for success
Example:
  UseHTTP ($[], "/tmp/profile.xml")

global fetchFromDevice (map parameters, string localfile)

Retrieve the profile from a harddisk/any device

Parameters:
parameters Map with value of the autoyast keyword (command line)
localfile Location where the retrieved file should be copied
Return value:
true for success
Example:
  fetchFromDevice ($[], "/tmp/profile.xml")

YaST2 Developers Documentation