Update basic-builder definition for private cloud
[releng/builder.git] / vagrant / basic-builder / bootstrap.sh
1 #!/bin/bash
2
3 # vim: sw=4 ts=4 sts=4 et tw=72 :
4
5 # The following packages are not needed by all projects, but they are
6 # needed by enough to make them useful everywhere
7 yum install -q -y @development perl-{Digest-SHA,ExtUtils-MakeMaker} \
8     ant {boost,gtest,json-c,libcurl,libxml2,libvirt,openssl}-devel \
9     {readline,unixODBC}-devel yum-utils
10
11 # Install python dependencies
12 yum install -y python-{devel,virtualenv,setuptools,pip}
13
14 # Needed by autorelease scripts
15 yum install -y xmlstarlet
16
17 # sshpass for the current deploy test to be runable immediatelly after
18 # build
19 yum install -y sshpass
20
21 # tcpmd5 is wanting to do 32bit ARM cross-compilation and is specifically
22 # requesting the following be installed (note the kernel headers are
23 # going to be the x86_64 package as there aren't separate 32bit and
24 # x86_64 packages for them
25 yum install -q -y glibc-devel.i686 kernel-headers
26
27 # The following is needed by opendove, if this is to be perfomed against
28 # an EL6 system some of these packages are not availalble (or at the
29 # wrong version) in publically available repositories as such this
30 # should only really be done on an EL7 (or F18+) system
31 yum install -q -y {jansson,libevent,libnl,libuuid}-devel
32
33 #The following is needed for the new code in vtn project.
34 #these packages will enable C# compilation.
35 rpm --import "http://keyserver.ubuntu.com/pks/lookup?op=get&search=0x3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF"
36 #Added the mono tools repository
37 yum-config-manager -q -y --add-repo http://download.mono-project.com/repo/centos/
38 #Install the nuget binary
39 yum install -q -y http://download.mono-project.com/repo/centos/n/nuget/nuget-2.8.3+md58+dhx1-0.noarch.rpm
40 #install the mono toolchain
41 yum -q -y install mono-complete