X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=delegate.py;h=73a0743d57fa57fe3b1de3d5efd85aae3ad7826b;hb=refs%2Fheads%2Fplanetlab-4_0-branch;hp=17bba7a87111c8f0eb14821ca8614d04c37e7044;hpb=af198e0763c05705ba87a1753209b17df38e3f69;p=nodemanager.git diff --git a/delegate.py b/delegate.py index 17bba7a..73a0743 100644 --- a/delegate.py +++ b/delegate.py @@ -6,11 +6,11 @@ import tools class Delegate(accounts.Account): - SHELL = '/bin/forward_api_calls' # tunneling shell + SHELL = '/usr/bin/forward_api_calls' # tunneling shell TYPE = 'delegate' @staticmethod - def create(name): + def create(name, vref = None): add_shell(Delegate.SHELL) logger.log_call('/usr/sbin/useradd', '-p', '*', '-s', Delegate.SHELL, name)