summaryrefslogtreecommitdiffstats
path: root/satellit_installer/includes/00-variables.inc
blob: fa3813b96695fd6936acba1efbe01953a01bfb59 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
# List of needed variables

### Script variables, directories etc.:

# these vars are set in main program, just to mention them:
# SELF="$(readlink -f "$0")"
# BASEDIR="$(dirname "${SELF}")"

export DEBIAN_FRONTEND="noninteractive"			# Part of keeping apt quiet
export LANG="en_US.UTF-8"

# Preparation for systemd-based OS:
[ $(ps -p 1 -o comm=) = systemd ] && export SYSTEMD=true	# eg. Debian 8

### Needed Packages:
# Set list of needed packages (scripting needs) - remember, Debian-specific so far.
PACKAGELIST_SCRIPT="cracklib-runtime wget"

# Set list of needed packages (server needs) - remember, Debian-specific so far.
# Keep in mind we use for standard installing of these packages the apt-get install
# options (-qq -y) --no-install-recommends to keep the list of installed packages
# lithe and lean. So, if you add a package here make sure it installs using these options.
# If this is not the case or in doubt use PACKAGELIST_WITH_RECOMMENDS below.
PACKAGELIST_SERVER="
	default-mysql-server lighttpd php-cgi php-curl cifs-utils php-mbstring
	sudo php-common php-mysqlnd php-cli nfs-kernel-server curl
	nfs-common libowfat0 ldap-utils vim gcc make unattended-upgrades gnupg
	libowfat-dev libssl-dev gcc make liblzma-dev tftpd-hpa tmate php-xml net-tools
	libjansson4 php-soap mtools
"

# Enter here packages needing installation of recommended packages as determines by apt-get:
PACKAGELIST_WITH_RECOMMENDS="
	openjdk-11-jre-headless open-vm-tools
"
# (java simply fails otherwise, open-vm-tools needs recommended packages for its kernel modules)

### http for static files:
HTTP_BASE="http://files.bwlp.ks.uni-freiburg.de/install/"
HTTP_FILES="dmsd.jar dnbd3-server openslx_tftp.tar.gz"
HTTP_FILES+=" taskmanager.tar.gz db_sat_dump.sql"
HTTP_FILES+=" slx-admin.tar.gz syslinux6.tar.gz syslinux4.tar.gz"

### slxadmin module list: which modules from modules-available will be (symbolically) linked:
SLXADMIN_MODULES="adduser backup baseconfig baseconfig_bwidm baseconfig_bwlp bootstrap_datepicker bootstrap_dialog bootstrap_timepicker"
SLXADMIN_MODULES+=" bootstrap_multiselect bootstrap_switch dnbd3 dozmod eventlog exams js_chart js_circles js_jqueryui js_moment"
SLXADMIN_MODULES+=" js_selectize js_stupidtable js_vis js_weekcalendar locationinfo locations main minilinux news permissionmanager"
SLXADMIN_MODULES+=" serversetup-bwlp-ipxe rebootcontrol roomplanner runmode session statistics statistics_reporting summernote sysconfig"
SLXADMIN_MODULES+=" syslog systemstatus vmstore webinterface"