Permalink
Browse files

Call ./glance-upload-ttylinux.sh during glance setup

  • Loading branch information...
1 parent 83aec50 commit 4e2bfddfc1f28d095260cdf933f220bae5e8083d @kiall kiall committed Nov 20, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −0 glance.sh
  2. +0 −1 obtain-token.sh
View
@@ -30,6 +30,7 @@ sleep 2
service glance-registry restart
sleep 2
+./glance-upload-ttylinux.sh
./glance-upload-oneiric.sh
./glance-upload-lucid.sh
View
@@ -4,7 +4,6 @@
. settings
REQUEST="{\"auth\": {\"passwordCredentials\": {\"username\": \"$NOVA_USERNAME\", \"password\": \"$NOVA_API_KEY\"}}}"
-
RAW_TOKEN=`curl -s -d "$REQUEST" -H "Content-type: application/json" "http://$HOST_IP:5000/v2.0/tokens"`
TOKEN=`echo $RAW_TOKEN | python -c "import sys; import json; tok = json.loads(sys.stdin.read()); print tok['access']['token']['id'];"`

0 comments on commit 4e2bfdd

Please sign in to comment.