YaST2 Developers Documentation: Autoinstallation Configuration System

Autoinstallation Configuration System

modules/AutoinstClone.ycp
Create a control file from an exisiting machine

This module has an unstable interface.

Imports

  • AutoinstConfig
  • Call
  • Keyboard
  • Language
  • Misc
  • Mode
  • Mode
  • Partitions
  • Profile
  • Profile
  • Report
  • Storage
  • Storage
  • StorageDevices
  • Timezone
  • XML
  • Y2ModuleConfig

Includes

  • autoinstall/xml.ycp

Global Functions

Local Functions

global AutoinstClone () -> void

Constructor

local root () -> list

Set root password

local findMountpoint (string device, map p, list<map> mounts) -> string

Find mount points in running system

Parameters:
device
p
mounts
local units_to_size (list region) -> integer

Convert units to size

Parameters:
region
Return value:
size
global Partitioning () -> list

Create a partition plan for the calling client

Return value:
partition plan
global Software () -> map<string, any >

Return list of software packages of calling client

Return value:
map of installed software package "base" -> string (base selection) "addons" -> list addon selections "packages" -> list user selected packages
global Bootloader () -> map

Bootloader options

Return value:
bootloader options
global General () -> map

General options

Return value:
general options
local CommonClone (string resource, map resourceMap) -> boolean

Clone a Resource

Parameters:
resource
resourceMap
global createClonableList () -> list

Create a list of clonable resources

Return value:
list to be used in widgets
global Process () -> void

Build the profile

global Write (string outputFile) -> boolean

Write the profile to a defined path

Parameters:
outputFile
Return value:
true on success
global Export () -> void

Export profile, Used only from within autoyast2