in I0272d56bc2e50e8174db78bd449f65f60f7f4000, we reset DEST value
when installing elasticsearch. it gets set to /opt/stack/ which is
not always correct in gate causing the path to be wrong and
elasticseach cannot be installed. we should reuse DEST from stackrc
Change-Id: Ia3a2383ada30c4e92c37386aedd6164c69cac60a
Closes-Bug: #1484182
... | ... |
@@ -6,9 +6,7 @@ |
6 | 6 |
# step can probably be factored out to something nicer |
7 | 7 |
TOP_DIR=$(cd $(dirname "$0")/.. && pwd) |
8 | 8 |
FILES=$TOP_DIR/files |
9 |
-source $TOP_DIR/functions |
|
10 |
-DEST=${DEST:-/opt/stack} |
|
11 |
-source $TOP_DIR/lib/infra |
|
9 |
+source $TOP_DIR/stackrc |
|
12 | 10 |
|
13 | 11 |
# Package source and version, all pkg files are expected to have |
14 | 12 |
# something like this, as well as a way to override them. |