The utility would fail due to the fact that the GLANCE_SERVICE_PROTOCOL
was not set.
Change-Id: Iff0b59274fa909895abd70c3a6d1da63dbd70483
Closes-bug: #1396567
| ... | ... |
@@ -37,6 +37,7 @@ die_if_not_set $LINENO TOKEN "Keystone fail to get token" |
| 37 | 37 |
|
| 38 | 38 |
# Glance connection info. Note the port must be specified. |
| 39 | 39 |
GLANCE_HOSTPORT=${GLANCE_HOSTPORT:-$GLANCE_HOST:9292}
|
| 40 |
+GLANCE_SERVICE_PROTOCOL=${GLANCE_SERVICE_PROTOCOL:-$SERVICE_PROTOCOL}
|
|
| 40 | 41 |
|
| 41 | 42 |
for IMAGE in "$*"; do |
| 42 | 43 |
upload_image $IMAGE $TOKEN |