summaryrefslogblamecommitdiffstats
path: root/satellit_installer/includes/00-variables.inc
blob: 770110600aee858ff33f8dfa54a140aef5dac7ce (plain) (tree)
1
2
3
4
5
6
7
8
9
10



                                       



                                                           

                                                                                   
 
                                   
                                                                              
 

                                                                                   
                                          

                                                                                



                                                                                          
                    
                                                                  
                                                                     
                                                                              
                                                          
 
 
                                                                                            



                                                                                                

                          
                                                         
                                         
                                                 
                                                                 

                                                                                             

                                                                                                                                        

                                                                                                             
# 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 php5-cgi php5-curl cifs-utils
	sudo php5-common php5-mysqlnd php5-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-7-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"