summarylogtreecommitdiffstats
path: root/wrapper-stamp-telepresence.sh
diff options
context:
space:
mode:
Diffstat (limited to 'wrapper-stamp-telepresence.sh')
-rwxr-xr-xwrapper-stamp-telepresence.sh13
1 files changed, 13 insertions, 0 deletions
diff --git a/wrapper-stamp-telepresence.sh b/wrapper-stamp-telepresence.sh
new file mode 100755
index 000000000000..10869caa4dc6
--- /dev/null
+++ b/wrapper-stamp-telepresence.sh
@@ -0,0 +1,13 @@
+#!/bin/sh
+
+# wrap the virtualenv and extend $PATH to include telepresence
+
+export VIRTUAL_ENV=/opt/telepresence/telepresence-venv
+export PATH="${VIRTUAL_ENV}/bin:$PATH"
+
+
+RUNME=stamp-telepresence
+
+
+# pass args on
+"${VIRTUAL_ENV}/bin/${RUNME}" $@