aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteven Dake <stdake@cisco.com>2015-03-20 20:01:34 -0700
committerSteven Dake <stdake@cisco.com>2015-03-20 20:01:57 -0700
commitf4b128f7bbd711376c106f40bf3a44dfdfee6db7 (patch)
tree97c6636e58c40fd1eabb2412b59bb65bc542d6bc
parent17eccb0dfd4e39f90f5b0bd5fd608525524422f3 (diff)
downloadkolla-f4b128f7bbd711376c106f40bf3a44dfdfee6db7.tar.gz
kolla-f4b128f7bbd711376c106f40bf3a44dfdfee6db7.zip
Use -L flag in curl
The cirros image uses a redirect. Use curl -L to follow redirections. Change-Id: I3a9309901ab3528442009fd6802600c51c98242f
-rwxr-xr-xtools/start2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/start b/tools/start
index 887ec8ab1..0c9a6068c 100755
--- a/tools/start
+++ b/tools/start
@@ -49,7 +49,7 @@ docker-compose -f ./compose/nova-compute-network.yml up -d
IMAGE_URL=http://download.cirros-cloud.net/0.3.3/
IMAGE=cirros-0.3.3-x86_64-disk.img
if ! [ -f "$IMAGE" ]; then
- curl -o ./$IMAGE $IMAGE_URL/$IMAGE
+ curl -L -o ./$IMAGE $IMAGE_URL/$IMAGE
fi
until keystone user-list | grep glance