Changeset 2481 for package_branches/invirt-web/cherrypy/code
- Timestamp:
- Sep 21, 2009, 11:41:51 PM (15 years ago)
- Location:
- package_branches/invirt-web/cherrypy/code
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
package_branches/invirt-web/cherrypy/code/ajaxterm.py
r2455 r2481 389 389 env["TERM"]="linux" 390 390 env["PATH"]=os.environ['PATH'] 391 if 'KRB5CCNAME' in os.environ: 392 env["KRB5CCNAME"]=os.environ['KRB5CCNAME'] 391 393 os.execvpe(cmd[0],cmd,env) 392 394 else: -
package_branches/invirt-web/cherrypy/code/main.py
r2454 r2481 49 49 from invirt.config import structs as config 50 50 from invirt.common import InvalidInput, CodeError 51 import invirt.remctl 51 52 52 53 from view import View … … 312 313 else: 313 314 print >>sys.stderr, "spawning new session for terminal to ",machine_id 315 invirt.remctl.checkKinit(principal='daemon/'+config.web.hostname) 314 316 term = self.atmulti.create( 315 317 ["ssh", "-e","none", "-l", machine.name, config.console.hostname] … … 328 330 return dump 329 331 else: 330 print "Removing session for", machine_id 332 print "Removing session for", machine_id,"because we received",repr(dump) 331 333 del self.atsessions[machine_id] 332 334 return '<?xml version="1.0"?><idem></idem>'
Note: See TracChangeset
for help on using the changeset viewer.