X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=vagrant%2Fovsdb-devstack%2Fbootstrap.sh;h=06463517d3d19f6f68ddca0027234e5354062267;hb=c7c346203154d3d3c5822e2f8e4c6bbdf063b3b6;hp=a2dd9f5b57b59d656c9b20ca9e2652113ddea66f;hpb=5a2ef2d0fc1f0fa0f28471f76bd95ae1a416b1d7;p=releng%2Fbuilder.git diff --git a/vagrant/ovsdb-devstack/bootstrap.sh b/vagrant/ovsdb-devstack/bootstrap.sh index a2dd9f5b5..06463517d 100644 --- a/vagrant/ovsdb-devstack/bootstrap.sh +++ b/vagrant/ovsdb-devstack/bootstrap.sh @@ -1,24 +1,10 @@ #!/bin/bash -# enable enforcing mode from the very start -setenforce enforcing - -# configure system for enforcing mode on next boot -sed -i 's/SELINUX=permissive/SELINUX=enforcing/' /etc/selinux/config - -yum clean all -yum update -y +echo '---> Installing non-baseline requirements' yum install -q -y deltarpm python{,-{crypto,devel,lxml,setuptools}} \ - @development-tools {lib{xml2,xslt,ffi},openssl}-devel \ - java git sudo - -# figure out what the latest kernel installed is and switch to it -# NOTE: This is done like this becase the Rackspace F20 images are using -# extlinux / syslinux and don't switch to the newest kernel on update -NEWKERNEL=`rpm -qa | grep kernel-3 | sort -r | head -1 | cut -c 8-` -BOOTLABEL=`grep ${NEWKERNEL} /boot/extlinux.conf | grep LABEL | cut -c 7-` -sed -i "s/ONTIMEOUT linux/ONTIMEOUT ${BOOTLABEL}/" /boot/extlinux.conf + @development {lib{xml2,xslt,ffi},openssl}-devel +echo '---> Updating net link setup' if [ ! -f /etc/udev/rules.d/80-net-setup-link.rules ]; then ln -s /dev/null /etc/udev/rules.d/80-net-setup-link.rules fi @@ -26,3 +12,5 @@ fi echo "***************************************************" echo "* PLEASE RELOAD THIS VAGRANT BOX BEFORE USE *" echo "***************************************************" + +# vim: sw=4 ts=4 sts=4 et :