Initial Vagrant configurations
[releng/builder.git] / vagrant / ovsdb-devstack / bootstrap.sh
1 #!/bin/bash
2
3 # enable enforcing mode from the very start
4 setenforce enforcing
5
6 # configure system for enforcing mode on next boot
7 sed -i 's/SELINUX=permissive/SELINUX=enforcing/' /etc/selinux/config
8
9 yum clean all
10 yum update -y
11 yum install -q -y deltarpm python python-crypto python-devel python-lxml python-setuptools @development-tools libxml2-devel libxslt-devel libffi-devel
12 yum install -q -y java git sudo openssl-devel
13
14 if [ ! -f /etc/udev/rules.d/80-net-setup-link.rules ]; then
15     ln -s /dev/null /etc/udev/rules.d/80-net-setup-link.rules
16 fi
17
18 echo "***************************************************"
19 echo "*   PLEASE RELOAD THIS VAGRANT BOX BEFORE USE     *"
20 echo "***************************************************"