From 90ef0fd54da0f645b34cc4cafb531784dd4d0ee0 Mon Sep 17 00:00:00 2001 From: Jan Klare Date: Tue, 15 Mar 2016 16:10:46 +0100 Subject: [PATCH] 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: I5d6b5480cf8dc789848c7a0f54b88646500c94d0 --- bootstrap.sh | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/bootstrap.sh b/bootstrap.sh index fe49ef2c..41bbec71 100755 --- a/bootstrap.sh +++ b/bootstrap.sh @@ -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/master/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/master/bootstrap.sh +/bin/bash -x common-bootstrap.sh