138. Mode

Installation mode

138.1. Authors

  • Klaus Kaempf <kkaempf@suse.de>

138.2. Summary of Module Globals

List of Global Functions

  • Initialize - initialize everything from command-line of y2base

  • autoinst - doing auto-installation

  • commandline - we're running in command line interface

  • config - configuration for auto-installation, only in running system

  • installation - we're doing a fresh installation

  • live_installation - we're doing a fresh installation from live CD/DVD

  • mode - Returns the current mode name. It's one of "installation", "normal", "update", "repair", "autoinstallation", "autoinst_config"

  • normal - normal, running system

  • repair - start repair module

  • screen_shot - dump screens to /tmp. Implies @ref #demo . See installation/Test-Scripts/yast2-screen-shots*

  • test - Just testing. See installation/Test-Scripts/doit*

  • testsuite - Returns whether running in testsuite.

  • ui - Returns the current UI mode. It's one of "commandline", "dialog", "none"

  • update - we're doing an update

List of Global Variables

    138.3. Global Functions

    138.3.1. Initialize

    initialize everything from command-line of y2base

    Return value

    • void

    138.3.2. autoinst

    doing auto-installation

    Return value

    • boolean

    138.3.3. commandline

    we're running in command line interface

    Return value

    • boolean - true if command-line is running

    138.3.4. config

    configuration for auto-installation, only in running system

    Return value

    • boolean

    138.3.5. installation

    we're doing a fresh installation

    Return value

    • boolean

    138.3.6. live_installation

    we're doing a fresh installation from live CD/DVD

    Return value

    • boolean

    138.3.7. mode

    Returns the current mode name. It's one of "installation", "normal", "update", "repair", "autoinstallation", "autoinst_config"

    Return value

    • string

    138.3.8. normal

    normal, running system

    Return value

    • boolean

    138.3.9. repair

    start repair module

    Return value

    • boolean

    138.3.10. screen_shot

    dump screens to /tmp. Implies @ref #demo . See installation/Test-Scripts/yast2-screen-shots*

    Return value

    • boolean

    138.3.11. test

    Just testing. See installation/Test-Scripts/doit*

    Return value

    • boolean

    138.3.12. testsuite

    Returns whether running in testsuite.

    Return value

    • boolean

    138.3.13. ui

    Returns the current UI mode. It's one of "commandline", "dialog", "none"

    Return value

    • string

    138.3.14. update

    we're doing an update

    Return value

    • boolean

    138.4. Global Variables

    138.5. Module Requirements

    none