blob: e22ed949db1212e41d0c379d0ec516623955027a (
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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
|
# 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"
# Default password for the openslx system user, user is forced to change this on first boot
DEFAULT_OPENSLX_PASSWORD="aendermichsofort"
# This will only be used to install the slx-admin db scheme and changed on first boot
TEMP_DB_PASS="geheim"
### 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="
cifs-utils
cmake
curl
default-mysql-server
gcc
gnupg
ldap-utils
libjansson-dev
libjansson4
liblzma-dev
libowfat-dev
libowfat0
libssl-dev
lighttpd
lighttpd-mod-deflate
lighttpd-mod-openssl
make
mtools
net-tools
nfs-common
nfs-kernel-server
php-cgi
php-cli
php-common
php-curl
php-mbstring
php-mysql
php-soap
php-xml
socat
sudo
syslinux
tftpd-hpa
tmate
vim
"
# Enter here packages needing installation of recommended packages as determines by apt-get:
PACKAGELIST_WITH_RECOMMENDS="
open-vm-tools
default-jre-headless
"
# (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="
db_sat_dump.sql
dozmod.tar.gz
openslx_tftp.tar.gz
pxelinux.0
slx-admin.tar.gz
taskmanager.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_multiselect
bootstrap_switch
bootstrap_timepicker
dnbd3
dozmod
eventlog
exams
js_chart
js_circles
js_ip
js_jqueryui
js_moment
js_selectize
js_stupidtable
js_vis
js_weekcalendar
locationinfo
locations
main
minilinux
news
permissionmanager
passthrough
rebootcontrol
remoteaccess
roomplanner
runmode
serversetup-bwlp-ipxe
session
statistics
statistics_reporting
summernote
sysconfig
syslog
systemstatus
vmstore
webinterface
"
|