git://git.onelab.eu
/
nodemanager.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2141ca4
)
Change to Controller from Delegate shell
author
Faiyaz Ahmed
<faiyaza@cs.princeton.edu>
Fri, 14 Nov 2008 22:11:18 +0000
(22:11 +0000)
committer
Faiyaz Ahmed
<faiyaza@cs.princeton.edu>
Fri, 14 Nov 2008 22:11:18 +0000
(22:11 +0000)
controller.py
patch
|
blob
|
history
diff --git
a/controller.py
b/controller.py
index
da5da1b
..
65da89f
100644
(file)
--- a/
controller.py
+++ b/
controller.py
@@
-11,8
+11,8
@@
class Controller(accounts.Account):
@staticmethod
def create(name, vref = None):
- add_shell(
Delegate
.SHELL)
- logger.log_call('/usr/sbin/useradd', '-p', '*', '-s',
Delegate
.SHELL, name)
+ add_shell(
Controller
.SHELL)
+ logger.log_call('/usr/sbin/useradd', '-p', '*', '-s',
Controller
.SHELL, name)
@staticmethod
def destroy(name): logger.log_call('/usr/sbin/userdel', '-r', name)