summaryrefslogtreecommitdiffstats
path: root/odl-pipeline/lib/tripleo_introspector.sh
diff options
context:
space:
mode:
Diffstat (limited to 'odl-pipeline/lib/tripleo_introspector.sh')
-rwxr-xr-xodl-pipeline/lib/tripleo_introspector.sh10
1 files changed, 10 insertions, 0 deletions
diff --git a/odl-pipeline/lib/tripleo_introspector.sh b/odl-pipeline/lib/tripleo_introspector.sh
new file mode 100755
index 0000000..8d1b9de
--- /dev/null
+++ b/odl-pipeline/lib/tripleo_introspector.sh
@@ -0,0 +1,10 @@
+#!/bin/bash
+DIR=$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )
+if [ -e ~/stackrc ];then
+ . ~/stackrc
+fi
+set -e
+export PYTHONPATH=$PYTHONPATH:$DIR
+mkdir -p $DIR/tmp
+cd $DIR
+python ./tripleo_introspector/tripleo_introspector.py $@