summaryrefslogblamecommitdiffstats
path: root/satellit_installer/includes/00-variables.inc
blob: 05a77d28109f8f3d72e744de38f8bdff7d7c6397 (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
"

# 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"