| ... | ... |
@@ -7,6 +7,12 @@ if [ ! -e ../../localrc ]; then |
| 7 | 7 |
exit 1 |
| 8 | 8 |
fi |
| 9 | 9 |
|
| 10 |
+# This directory |
|
| 11 |
+TOP_DIR=$(cd $(dirname "$0") && pwd) |
|
| 12 |
+ |
|
| 13 |
+# Source params |
|
| 14 |
+cd ../.. && source ./stackrc && cd $TOP_DIR |
|
| 15 |
+ |
|
| 10 | 16 |
# Echo commands |
| 11 | 17 |
set -o xtrace |
| 12 | 18 |
|
| ... | ... |
@@ -41,9 +47,6 @@ GUEST_PASSWORD=${GUEST_PASSWORD:-secrete}
|
| 41 | 41 |
# Size of image |
| 42 | 42 |
VDI_MB=${VDI_MB:-2500}
|
| 43 | 43 |
|
| 44 |
-# This directory |
|
| 45 |
-TOP_DIR=$(cd $(dirname "$0") && pwd) |
|
| 46 |
- |
|
| 47 | 44 |
# Make sure we have git |
| 48 | 45 |
if ! which git; then |
| 49 | 46 |
GITDIR=/tmp/git-1.7.7 |