From 3bb7785b59ef92278b24f2636b5250b07ce788ee Mon Sep 17 00:00:00 2001 From: thibauth Date: Mon, 1 Aug 2011 16:05:49 +0000 Subject: Planetlab utilities git-svn-id: https://scm.gforge.inria.fr/svn/pacemaker@50 30fcff6e-8de6-41c7-acce-77ff6d1dd07b --- planetlab/pssh/bin/pssh-askpass | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100755 planetlab/pssh/bin/pssh-askpass (limited to 'planetlab/pssh/bin/pssh-askpass') diff --git a/planetlab/pssh/bin/pssh-askpass b/planetlab/pssh/bin/pssh-askpass new file mode 100755 index 0000000..beb9e8b --- /dev/null +++ b/planetlab/pssh/bin/pssh-askpass @@ -0,0 +1,11 @@ +#!/usr/bin/env python + +import os +import sys + +parent, bindir = os.path.split(os.path.dirname(os.path.abspath(sys.argv[0]))) +if os.path.exists(os.path.join(parent, 'psshlib')): + sys.path.insert(0, parent) + +from psshlib.askpass_client import askpass_main +askpass_main() -- cgit v1.2.3-70-g09d2