YaST2 Developers Documentation: yast2



functions
files
intro

yast2

modules/Mode.ycp
Installation mode
Provide installation mode information. Mostly values from /etc/install.inf See linuxrc documentation for detailed docs about this.

Global Variables

global mode -> string

Current mode

global stage -> string

Current stage

global installation -> boolean

we're doing a fresh installation

global update -> boolean

we're doing an update

global sourcemounted -> boolean

/var/adm/mount has installation data mounted

global boot -> string

how we were booted (the type of the installation medium) /etc/install.inf: InstMode

global test -> boolean

just testing

global demo -> boolean

dry-run of dialogues

global screen_shot -> boolean

dump screens to /tmp

global initial -> boolean

starting installation in inst-sys system

global cont -> boolean

continuing installation in target system

global firstboot -> boolean

starting installation in firstboot mode

global normal -> boolean

normal, running system

global autoinst -> boolean

do auto-installation

global repair -> boolean

start repair module

global config -> boolean

configuration for auto-installation, only in running system

global live_eval -> boolean

Preparing live-eval cd installation

global beta -> boolean

this is a beta-version

global certify -> boolean

this is for certify labs (uses by Packages.ycp)

global text_fallback -> boolean

no resources/packages for X11

global no_x11 -> boolean

somehow, no X11 was started

global x11_setup_needed -> boolean

run X11 configuration after inital boot this is false in case of: installation via serial console installation via ssh installation via vnc Also see Arch::x11_setup_needed.

global reprobe -> boolean

This flag indicates that a config module has been called due to a change in the system hardware that has been detected on boot time. It is set if a parameter "reprobe" is given with a yast2 call as command line argument.

global text -> boolean

we're running in textmode (-> UI::GetDisplayInfo())

global commandline -> boolean

we're running in command line interface

global manual -> boolean

we're running in manual mode (manual installation choosen in linuxrc)

global serial_console -> boolean

running via serial console

global braille -> boolean

braille mode ?

global vnc -> boolean

vnc mode ?

global usessh -> boolean

ssh mode ?

global youInstallMap -> map

install map containing data for the online update

Info:

Change Mode

Parameters:
string new mode (installation|update|autoinst)

YaST2 Developers Documentation