SDB:Linuxrc install.inf
Linuxrc Info File: install.inf
Linuxrc is a small program that runs before the actual installation program YaST is started, nevertheless it offers many different options that can change the installation behavior (e.g., Network setup, Driver Update, SSH and VNC Installation and many others). Once these settings are adjusted, they are written into a installation info-file: /etc/install.inf. This file can be found both in installation system and later also its copy on a running system.
This documentation may be outdated. The latest one will be available at Linuxrc repository.
Example of install.inf File
The file syntax is simple. Entries are newline-separated, each one contains variable name, colon, space and value.
Manual: 0 Locale: es_ES Sourcemounted: 1 RepoURL: cd:/?device=disk/by-id/ata-QEMU_DVD-ROM_QM00001 ZyppRepoURL: cd:/?devices=/dev/disk/by-id/ata-QEMU_DVD-ROM_QM00001 Device: disk/by-id/ata-QEMU_DVD-ROM_QM00001 InitrdModules: floppy libata libahci ahci ata_piix ata_generic cdrom sr_mod sd_mod st sg thermal iscsi_boot_sysfs Options: thermal tzp=50 Keyboard: 1 UpdateDir: /linux/suse/x86_64-sles12 YaST2update: 0 Textmode: 0 Screenmode: white-black MemFree: 957316 InitrdID: 2016-06-14.20220528 WithiSCSI: 0 WithFCoE: 0 StartShell: 0 Y2GDB: 0 kexec_reboot: 1 EFI: 0 Insecure: 0 SelfUpdate: 1 Cmdline: splash=silent
- An exemplary file has been shortened
Supported Parameters
Parameter | Type | Description |
---|---|---|
Manual | 0 or 1 |
Defines whether installation uses manual mode, e.g., asks for confirmation when probing hardware or loading modules. Example Manual: 0 |
Locale | String |
Locale (language) selected when booting to the inst-sys. Example: Locale: en_US |
Keytable | String |
Console keyboard mapping if Linuxrc did change it. Example: Keytable: de-latin1-nodeadkeys |
Sourcemounted | 0 or 1 |
Indicates whether the installation repository is mounted or not. For example, it will be 0 when using a remote URL through 'install' Linuxrc option. Example: Sourcemounted: 1 |
RepoURL | String |
Obsolete (see ZyppRepoURL instead). URL of installation repository. Example: RepoURL: http://install.example.org/install/openSUSE-11.1?device=eth0 |
ZyppRepoURL | String |
Installation repository location in URI form for libzypp. Example: ZyppRepoURL: cd:/?devices=/dev/disk/by-id/ata-QEMU_DVD-ROM_QM00001 |
ssl_verify | yes or no |
Indicates whether SSL certificates should be verified or not (ssl.certs=0 in Linuxrc). If missing, it's considered to be 'yes'. Example: ssl_verify: yes |
Device | String |
Obsolete (see ZyppRepoURL instead). Repository device/partition for a local install without the leading '/dev/'. Example: Device: disk/by-id/ata-WDC_WD10EARS-00Y4B2_WD-WCAV587297-part2 |
ProxyURL | String |
Proxy URL if set |
Hostname | String | |
regurl | String |
URL for registration server. Example: regurl: https://smt.example.net |
regcert | String |
Certificates for registration server. |
supporturl | String |
URL for uploading 'supportconfig' data. |
InitrdModules | String |
Modules loaded by initrd. Example: InitrdModules: hwmon thermal_sys processor thermal dock scsi_mod libata |
Options | String |
Parameters used to load each module in InitrdModules Example: Options: loop max_loop=64 |
LogHost | String |
Hostname to redirect syslog to. Also YaST will log both to y2log and to the remote syslog |
Keyboard | 0 or 1 |
Is keyboard available? Example: Keyboard: 1 |
UpdateDir | String |
Base directory to look for driver updates Example: UpdateDir: /linux/suse/x86_64-11.1 |
YaST2update | 0 or 1 |
A driver update has been used Example: YaST2update: 0 |
Textmode | 0 or 1 |
Should installation run in text-mode? Example: Textmode: 0 |
MemFree | Integer |
Available memory in kBytes. Example: MemFree: 3947228 |
VNC | 0 or 1 |
Installation over VNC? Example: VNC: 0 |
VNCPassword | String |
VNC password Example: VNC: secret |
Display_IP | String |
IP or DISPLAY variable to use for X11 connections. Example: Display_IP: 10.0.0.1:2 |
UseSSH | 0 or 1 |
Access to YaST via SSH Example: UseSSH: 0 |
SSHD | 0 or 1 |
Start a SSH server. Up to SLE12/openSUSE 13.2 there was only 'UseSSH' (implicitly starting sshd). Now both have been logically separated and you can get a SSH server running without forcing YaST into SSH mode (useful for debugging). Example: SSHD: 1 |
NoShell | 0 or 1 |
No shell was started. By default, Linuxrc starts /bin/bash at /dev/tty2, /dev/tty9 and if memory requirements permit also at /dev/tty5 and /dev/tty6. Example: NoShell: 1 |
InitrdID | String |
Initrd ID used to check the Linuxrc and Initrd compatibility. Example: InitrdID: 2008-12-02.95014f3c |
InstsysID | String |
Linuxrc compares instsys and initrd IDs and only proceeds if both are identical. It's set through InstsysID boot option. |
WithiSCSI | 0 or 1 |
iSCSI configuration dialogs enabled? Example: WithiSCSI: 0 |
WithFCoE | 0 or 1 |
WithFCoE configuration dialogs enabled? Example: WithFCoE: 0 |
StartShell | 0 or 1 |
Defines whether a shell is started before running YaST for debugging purposes. Example: StartShell: 0
|
Y2GDB | 0 or 1 |
Should installation run in gdb (debugger)? Example: Y2GDB: 0 |
kexec_reboot | 0 or 1 |
Defines whether Linuxrc should use kexec or reboot to get into the just installed system (second stage installation). Example: kexec_reboot: 1 |
EFI | 0 or 1 |
Configure as an EFI system Example: EFI: 0 |
Upgrade | 0 or 1 |
YaST will perform an upgrade instead of a regular installation Example: Upgrade: 1o |
Braille | String |
Braille device type Example: Braille: ht30 |
Brailledevice | String |
Device connected to the Braille hardware |
Cmdline | 0 or 1 |
Kernel command-line parameters. Any boot option Linuxrc does not handle and that should be kept for the target system boot configuration. Example: Cmdline: splash=silent vga=0x314 |
SelfUpdate | String or 0 or 1 |
URL for YaST to search for updates; 1: self-update feature is enabled; 0: self-update feature is disabled. |
Insecure | 0 or 1 |
Is secure mode enabled? Example: Insecure: 1 |
Screenmode | String |
Alternative style (colors and fonts) to use. Currently 'default', 'white-black' and 'cyan-black' are supported. |