From f4b128f7bbd711376c106f40bf3a44dfdfee6db7 Mon Sep 17 00:00:00 2001 From: Steven Dake <stdake@cisco.com> Date: Fri, 20 Mar 2015 20:01:34 -0700 Subject: [PATCH] Use -L flag in curl The cirros image uses a redirect. Use curl -L to follow redirections. Change-Id: I3a9309901ab3528442009fd6802600c51c98242f --- tools/start | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/start b/tools/start index 887ec8ab1d..0c9a6068cf 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 -- GitLab