From 05e2b4b7564ba517aed3e1e714235312df6349d9 Mon Sep 17 00:00:00 2001 From: Eric Hameleers Date: Fri, 15 Jun 2018 13:06:32 +0200 Subject: Add support for on-disk OS configuration file The configuration file must be in the liveslak main directory ('/liveslak' by default) and be called 'DISTRO_os.cfg' where DISTRO is the lower-case name of the distro ('slackware' by default). The following variables can be defined in the configuration file, one per line, in the format VAR=value: BLACKLIST, INIT, KEYMAP, LIVE_HOSTNAME, LOAD, LOCALE, LUKSVOL, NOLOAD, RUNLEVEL, TWEAKS, TZ, XKB. Since the configuration file is sourced by the live init script, it is OK to have comments in it that are prefixed with '#'. --- README.txt | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'README.txt') diff --git a/README.txt b/README.txt index c6c6e3b..d8a4128 100644 --- a/README.txt +++ b/README.txt @@ -330,6 +330,11 @@ swap => Allow the Live OS to activate all swap partitions on === Media tweaks === +cfg=[skip|write] => + Specify 'skip' to skip disk-based configuration file containing + OS parameters; or specify 'write' to write current OS parameters + to disk. + hostname=your_custom_hostname[,qualifier] => Specify a custom hostname. A qualifier 'fixed' can be appended to prohibit hostname modification in case of network boot. -- cgit v1.2.3