summaryrefslogtreecommitdiffstats
path: root/satellit_installer/static_files/slxadmin-config.php
diff options
context:
space:
mode:
authorSimon Rettberg2020-12-17 15:08:14 +0100
committerSimon Rettberg2020-12-17 15:08:14 +0100
commitb5c3eb9e01b09367935f558a57633b68a65a1a21 (patch)
treeb6c322f3089192124779b9d7a29c8365eb39533f /satellit_installer/static_files/slxadmin-config.php
parent[SSPS] slx-cert: Put hostname in SAN too, chromium requires this (diff)
downloadsetup-scripts-b5c3eb9e01b09367935f558a57633b68a65a1a21.tar.gz
setup-scripts-b5c3eb9e01b09367935f558a57633b68a65a1a21.tar.xz
setup-scripts-b5c3eb9e01b09367935f558a57633b68a65a1a21.zip
[SSPS] Refactor static_files: Submodules with tree
Add submodules (aka directories) to static_files, named according to what component they are for. Add function "install_files" to copy the contents of one of those modules to the root directory. This should make the resulting setup more obvious and require less manual copying of files everywhere.
Diffstat (limited to 'satellit_installer/static_files/slxadmin-config.php')
-rw-r--r--satellit_installer/static_files/slxadmin-config.php61
1 files changed, 0 insertions, 61 deletions
diff --git a/satellit_installer/static_files/slxadmin-config.php b/satellit_installer/static_files/slxadmin-config.php
deleted file mode 100644
index a239fef..0000000
--- a/satellit_installer/static_files/slxadmin-config.php
+++ /dev/null
@@ -1,61 +0,0 @@
-<?php
-
-// This might leak sensitive information. Never enable in production!
-define('CONFIG_DEBUG', false);
-
-define('CONFIG_SESSION_DIR', '/tmp/openslx');
-define('CONFIG_SESSION_TIMEOUT', 86400 * 3);
-
-// Put your mysql credentials here
-define('CONFIG_SQL_DSN', 'mysql:dbname=openslx;host=localhost');
-define('CONFIG_SQL_USER', 'openslx');
-define('CONFIG_SQL_PASS', '%MYSQL_OPENSLX_PASS%');
-// Set this to true if you mysql server doesn't default to UTF-8 on new connections
-define('CONFIG_SQL_FORCE_UTF8', false);
-
-define('CONFIG_TM_PASSWORD', '%TM_OPENSLX_PASS%');
-
-define('CONFIG_TGZ_LIST_DIR', '/opt/openslx/configs');
-
-define('CONFIG_TFTP_DIR', '/srv/openslx/tftp');
-define('CONFIG_HTTP_DIR', '/srv/openslx/www/boot');
-
-define('CONFIG_IPXE_DIR', '/opt/openslx/ipxe');
-
-define('CONFIG_VMSTORE_DIR', '/srv/openslx/nfs');
-
-define('CONFIG_PROXY_CONF', '/opt/openslx/proxy/config');
-
-// For the dozmod API proxy cache
-define('CONFIG_DOZMOD_URL', 'http://127.0.0.1:9080');
-define('CONFIG_DOZMOD_EXPIRE', 60); // 1 Minute
-
-// Statistics_Reporting
-define('CONFIG_REPORTING_URL', 'https://bwlp-masterserver.ruf.uni-freiburg.de/rpc/');
-define('CONFIG_BIOS_URL', 'https://bwlp-masterserver.ruf.uni-freiburg.de/bios/list.json');
-
-define('CONFIG_PRODUCT_NAME', 'bwLehrpool');
-define('CONFIG_PRODUCT_NAME_LONG', 'bwLehrpool Admin Interface');
-
-// Sort order for menu
-// Optional - if missing, will be sorted by module id (internal name)
-// Here it is also possible to assign a module to a different category,
-// overriding the config.json entry
-$MENU_CAT_OVERRIDE = array(
- 'main.content' => array(
- 'news', 'locations', 'exams', 'dozmod', 'adduser', 'permissionmanager', 'locationinfo'
- ),
- 'main.settings-client' => array(
- 'sysconfig', 'baseconfig', 'minilinux'
- ),
- 'main.settings-server' => array(
- 'serversetup', 'vmstore', 'webinterface', 'backup', 'dnbd3', 'rebootcontrol'
- ),
- 'main.status' => array(
- 'systemstatus', 'eventlog', 'syslog', 'statistics', 'statistics_reporting'
- ),
- 'main.etc' => array(
- 'runmode', 'translation'
- )
-);
-