git://git.onelab.eu
/
nodemanager.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Take the new doc out of the branch and into trunk
[nodemanager.git]
/
delegate.py
diff --git
a/delegate.py
b/delegate.py
index
17bba7a
..
73a0743
100644
(file)
--- a/
delegate.py
+++ b/
delegate.py
@@
-6,11
+6,11
@@
import tools
class Delegate(accounts.Account):
class Delegate(accounts.Account):
- SHELL = '/bin/forward_api_calls' # tunneling shell
+ SHELL = '/
usr/
bin/forward_api_calls' # tunneling shell
TYPE = 'delegate'
@staticmethod
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)
add_shell(Delegate.SHELL)
logger.log_call('/usr/sbin/useradd', '-p', '*', '-s', Delegate.SHELL, name)