summaryrefslogtreecommitdiffstats
path: root/modules-available/runmode/baseconfig
diff options
context:
space:
mode:
authorSimon Rettberg2017-11-03 17:53:13 +0100
committerSimon Rettberg2017-11-03 17:53:13 +0100
commit764ec440d8594c68a6c778f58aee2d7888b89204 (patch)
treee4db86bb1ef7fad95a4d12c57d1d35e36d888333 /modules-available/runmode/baseconfig
parent[sysconfig] Fix: Empty config.tgz modules disappeared from the list (diff)
downloadslx-admin-764ec440d8594c68a6c778f58aee2d7888b89204.tar.gz
slx-admin-764ec440d8594c68a6c778f58aee2d7888b89204.tar.xz
slx-admin-764ec440d8594c68a6c778f58aee2d7888b89204.zip
[sysconfig/runmode] Deliver bare config.tgz with just global hook data when "no sysconfig" is set for a runmode
Diffstat (limited to 'modules-available/runmode/baseconfig')
-rw-r--r--modules-available/runmode/baseconfig/getconfig.inc.php3
1 files changed, 0 insertions, 3 deletions
diff --git a/modules-available/runmode/baseconfig/getconfig.inc.php b/modules-available/runmode/baseconfig/getconfig.inc.php
index fe04b5ef..2d622fc7 100644
--- a/modules-available/runmode/baseconfig/getconfig.inc.php
+++ b/modules-available/runmode/baseconfig/getconfig.inc.php
@@ -14,9 +14,6 @@ $foofoo = function($machineUuid) {
if ($config->systemdDefaultTarget !== false) {
ConfigHolder::add('SLX_SYSTEMD_TARGET', $config->systemdDefaultTarget, 10000);
}
- if ($config->noSysconfig) {
- ConfigHolder::add('SLX_NO_CONFIG_TGZ', '1', 10000);
- }
// Disable exam mode - not sure if this is generally a good idea; for now, all modes we can think of would
// not make sense that way so do this for now
if (ConfigHolder::get('SLX_EXAM') !== false) {