summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWill Holland <william.holland@codethink.co.uk>2015-10-02 12:20:43 +0100
committerWill Holland <william.holland@codethink.co.uk>2015-10-02 12:20:43 +0100
commit066f175fdbb0c43219e181952fc85e97e1c6dc73 (patch)
tree621b12717d456c088fc245bd091da6c8d3806c28
parent46c7a86ac61e567d5df14a76340047f59871483a (diff)
downloadorchestration-066f175fdbb0c43219e181952fc85e97e1c6dc73.tar.gz
Add interactive shell for orchestration
-rwxr-xr-xorch_shell10
1 files changed, 10 insertions, 0 deletions
diff --git a/orch_shell b/orch_shell
new file mode 100755
index 0000000..94e1607
--- /dev/null
+++ b/orch_shell
@@ -0,0 +1,10 @@
+#!/bin/sh
+
+cat << EOF > /tmp/start_orch_shell.py
+import imp, ciatlib
+configure = imp.load_source('configure', '../source/configure.py')
+configure.configure()
+EOF
+
+cd orchenv-master
+./bin/python -i /tmp/start_orch_shell.py