Browse code

minor tweaks - source stackrc/localrc for excercise.sh. Also, fix typo in build_lxc.sh

Anthony Young authored on 2011/10/19 00:22:30
Showing 2 changed files
... ...
@@ -19,6 +19,9 @@ set -o xtrace
19 19
 # Settings
20 20
 # ========
21 21
 
22
+# Use stackrc and localrc for settings
23
+source ./stackrc
24
+
22 25
 HOST=${HOST:-localhost}
23 26
 
24 27
 # Nova original used project_id as the *account* that owned resources (servers,
... ...
@@ -33,7 +36,7 @@ export NOVA_PROJECT_ID=${TENANT:-demo}
33 33
 export NOVA_USERNAME=${USERNAME:-demo}
34 34
 
35 35
 # With Keystone you pass the keystone password instead of an api key.
36
-export NOVA_API_KEY=${PASSWORD:-secrete}
36
+export NOVA_API_KEY=${ADMIN_PASSWORD:-secrete}
37 37
 
38 38
 # With the addition of Keystone, to use an openstack cloud you should 
39 39
 # authenticate against keystone, which returns a **Token** and **Service 
... ...
@@ -138,7 +138,7 @@ mkdir -p $CACHEDIR/$DEST
138 138
 git_clone $NOVA_REPO $CACHEDIR/$DEST/nova $NOVA_BRANCH
139 139
 git_clone $GLANCE_REPO $CACHEDIR/$DEST/glance $GLANCE_BRANCH
140 140
 git_clone $KEYSTONE_REPO $CACHEDIR/$DESTkeystone $KEYSTONE_BRANCH
141
-git_clone $NOVNC_REPO $CACHEDIR/$DEST/novnc $NOVNC_BRANCH
141
+git_clone $NOVNC_REPO $CACHEDIR/$DEST/noVNC $NOVNC_BRANCH
142 142
 git_clone $DASH_REPO $CACHEDIR/$DEST/dash $DASH_BRANCH $DASH_TAG
143 143
 git_clone $NOVACLIENT_REPO $CACHEDIR/$DEST/python-novaclient $NOVACLIENT_BRANCH
144 144
 git_clone $OPENSTACKX_REPO $CACHEDIR/$DEST/openstackx $OPENSTACKX_BRANCH