Browse code

Renames old $devstack_dir to $TOP_DIR

This patch renames $devstack_dir which is no longer defined
to $TOP_DIR. Fixes problem where initialisation of ec2 images
for tempest testing was failing.

Change-Id: Ie0cd43209e58c903b1fe6cc528a4971896e6fab1

Chris Yeoh authored on 2013/01/23 19:44:49
Showing 1 changed files
... ...
@@ -304,7 +304,7 @@ function init_tempest() {
304 304
        echo "Prepare aki/ari/ami Images"
305 305
        ( #new namespace
306 306
            # tenant:demo ; user: demo
307
-           source $devstack_dir/accrc/demo/demo
307
+           source $TOP_DIR/accrc/demo/demo
308 308
            euca-bundle-image -i "$kernel" --kernel true -d "$BOTO_MATERIALS_PATH"
309 309
            euca-bundle-image -i "$ramdisk" --ramdisk true -d "$BOTO_MATERIALS_PATH"
310 310
            euca-bundle-image -i "$disk_image" -d "$BOTO_MATERIALS_PATH"