Changeset b312431b
- Timestamp:
- Dec 3, 2008 2:23:37 PM (16 years ago)
- Branches:
- axis_example, compt_changes, info-ops, master, version-1.30, version-2.00, version-3.01, version-3.02
- Children:
- 266e866
- Parents:
- 375ca67
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
fedd/federation/allocate_project.py
r375ca67 rb312431b 48 48 """ 49 49 50 self.debug = config.get ("allocate", "debug", False)50 self.debug = config.getboolean("allocate", "debug", False) 51 51 self.wap = config.get('allocate', 'wap', '/usr/testbed/sbin/wap') 52 52 self.newproj = config.get('allocate', 'newproj', … … 61 61 '/usr/testbed/sbin/newuser') 62 62 self.addpubkey = config.get('allocate', 'addpubkey', 63 '/usr/testbed/sbin/ taddpubkey')63 '/usr/testbed/sbin/addpubkey') 64 64 self.grantnodetype = config.get('allocate', 'grantnodetype', 65 65 '/usr/testbed/sbin/grantnodetype') … … 357 357 if k.has_key('sshPubkey')]: 358 358 if self.allocation_level >= self.dynamic_keys: 359 cmds.append((self.wap, self.addpubkey, '- w', \359 cmds.append((self.wap, self.addpubkey, '-r', \ 360 360 '-u', name, '-k', sk)) 361 361 elif self.allocation_level >= self.confirm_keys: … … 438 438 if (name.rstrip(), sk.rstrip()) not in self.fixed_keys: 439 439 if self.allocation_level >= self.dynamic_keys: 440 cmds.append((self.wap, self.addpubkey, '-R', '- w', \440 cmds.append((self.wap, self.addpubkey, '-R', '-r', \ 441 441 '-u', name, '-k', sk)) 442 442
Note: See TracChangeset
for help on using the changeset viewer.