6 echo "Init script for $boxName"
9 echo "Install the EPEL-repository for additional software"
11 if [ "$boxName" == "centos70" ]
14 rpm
-Uhv http
://mirror.digitalnova.at
/epel
/7/x86_64
/e
/epel-release-7-2.noarch.rpm
17 rpm
-Uvh http
://download.fedoraproject.org
/pub
/epel
/6/i386
/epel-release-6-8.noarch.rpm
20 # some of these packages are already installed. But lets be sure
22 neededPackages
=(gcc-c
++ gcc-gfortran mercurial git flex bison
make ccache rpm-build wget zlib-devel binutils-devel libXt-devel cmake
)
23 bonusPackages
=(emacs csh tcsh zsh
)
25 for p
in ${neededPackages[@]}; do
29 for p
in ${bonusPackages[@]}; do
33 if [ "$boxName" == "centos65" ]
35 echo "Update mercurial to a more recent version"
36 rpm
-Uhv http
://pkgs.repoforge.org
/mercurial
/mercurial-2.2
.2-1.el6.rfx.x86_64.rpm
40 echo "RHEL/CentOS-specific ended. Now doing general stuff"
43 /vagrant
/initGeneralScript.sh