updates centos provisioner

This commit is contained in:
Moisés Guimarães 2017-01-18 18:41:15 -02:00
parent 51bf46288b
commit feb6617dc9

View File

@ -1,11 +1,13 @@
[ "$(whoami)" != "root" ] && echo "Sorry, you are not root." && exit 1
rpm -ivh http://dl.fedoraproject.org/pub/epel/7/x86_64/e/epel-release-7-6.noarch.rpm
rpm -ivh http://dl.fedoraproject.org/pub/epel/7/x86_64/e/epel-release-7-9.noarch.rpm
yum update
yum install -y \
git autoconf libtool libffi-devel python-devel python3-devel python-pip
git autoconf libtool libffi-devel python-devel python34-devel python2-pip
git clone https://github.com/wolfssl/wolfssl.git
pip install -U pip setuptools
git clone --depth 1 https://github.com/wolfssl/wolfssl.git
[ $? -ne 0 ] && echo "\n\nCouldn't download wolfssl.\n\n" && exit 1
pushd wolfssl