Fix bootstrap.sh

On recent test machines, curl isn't available anymore, so use wget
instead. Piping directly into bash isn't that great anyway.

Change-Id: If6a1ada26c18c0bfc515c6b1a6ec6b1ce940790b
This commit is contained in:
Jan Klare 2016-03-15 16:21:06 +01:00
parent aa4f04c4a5
commit d8d16f1841
1 changed files with 2 additions and 5 deletions

View File

@ -2,8 +2,5 @@
## This script is for installing all the needed packages on trusty to run the chef tests with 'chef exec rake'.
## It relies on the common bootstrap.sh from openstack/cookbook-openstack-common for installing common dependencies.
curl https://raw.githubusercontent.com/openstack/cookbook-openstack-common/stable/kilo/bootstrap.sh \
--retry 3 \
--silent \
--show-error \
| /bin/bash -x
wget -nv -t 3 -O common-bootstrap.sh https://raw.githubusercontent.com/openstack/cookbook-openstack-common/stable/kilo/bootstrap.sh
/bin/bash -x common-bootstrap.sh