YaST2 Developers Documentation: Autoinstall

Autoinstall

conftree.ycp
This module handles the configuration for auto-installation
  • Anas Nashif

This module has an unstable interface.

Imports

  • AutoinstClone
  • AutoinstConfig
  • AutoinstSoftware
  • Call
  • HTML
  • Icon
  • Label
  • Mode
  • Popup
  • Profile
  • Report
  • Stage
  • Wizard
  • XML

Local Functions

local groups (string selectedGroup) -> term

Creates the group selection box with the specified YaST group selected.

Parameters:
selectedGroup The group to select.
Return value:
The newly created `SelectionBox widget.
local modules (string group_name, string selectedModule) -> term

Creates the modules selection box displaying modules in the specified group. The specified YaST module is selected.

Parameters:
group_name YaST group of modules to display.
selectedModule Module to preselect.
local details (string module_name) -> term

Creates a `VBox containg the summary of the specified module and the action buttons below.

Parameters:
module_name The module to summarize.
Return value:
The `VBox widget.
local layout (string preselectedGroup, string preselectedModule) -> term

Sets the high level layout to 3 columns:

- left: the YaST groups are displayed in a selection box - middle: the modules of the selected group are displayed in a selection box - right: the summary of the selected module is displayed, action buttons below

Parameters:
preselectedGroup The YaST group to preselect
preselectedModule The module to preselect
local setGroup (string group_name) -> void

Set the group selection box to the specified YaST group.

Parameters:
group_name
local getGroup () -> string

Get the currently selected YaST group from the selection box widget.

Return value:
The currently selected group.
local getModule () -> string

Get the currently selected Module from the selection box widget.

Return value:
The currently selected module.
local updateButtons (string selectedModule) -> void

Updates the action button activation status. (Some modules are not clonable, some are not writeable).

Parameters:
selectedModule The module to define the button status.
local setModule (string module_name) -> void

Set the module selection box to the specified YaST module and update the details and group column.

Parameters:
module_name The module to select.
local updateModules () -> void

Update the modules selection box, e.g. after the user selected a different group. Updates the details section also.

local updateDetails () -> void

Update the details section, e.g. after a different module was selected.

local resetModule (string resource) -> any

Reset Configuration

Parameters:
resource Module/Resource to reset
local readModule (string module_name) -> boolean

Read the setting of the specifed module from the current system.

Parameters:
module_name The module to read in.
local configureModule (string resource) -> any

Configure module

Parameters:
resource Module/Resource to configure
local menus () -> void

Sets the menus in the wizard.

local CreateDialog (string currentGroup, string currentModule) -> void

Create the complete dialog (called in wizard.ycp and in MainDialog())

Parameters:
currentGroup Group to select.
currentModule Module to select.
local ShowSource () -> void

Show Source

local MainDialog () -> any

Menu interface