summaryrefslogtreecommitdiffstats
path: root/satellit_installer/includes/00-variables.inc
blob: c0f45469b8066360429e014bc18259fd5647f65e (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
# 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="
	mysql-server lighttpd atftpd 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 tmate
"

# Enter here packages needing installation of recommended packages as determines by apt-get:
PACKAGELIST_WITH_RECOMMENDS="
	openjdk-8-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 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 dozmod eventlog exams js_chart js_circles js_jqueryui"
SLXADMIN_MODULES+=" js_moment js_selectize js_vis locations main minilinux news roomplanner serversetup-bwlp"
SLXADMIN_MODULES+=" session statistics summernote sysconfig syslog systemstatus vmstore webinterface"