Changed screen(1) names from hN to mininet.hN.

This should make it easier for people who use screen for other purposes
to identify which sessions were created by mininet.
This commit is contained in:
Bob Lantz
2010-04-10 21:31:34 -07:00
parent 257a2f636b
commit 4a67fc9a4a
+1 -1
View File
@@ -39,7 +39,7 @@ def makeTerm( node, title = 'Node', term = 'xterm' ):
error( 'invalid terminal type: %s' % term )
return
if not node.execed:
node.cmd( 'screen -dmS ' + node.name)
node.cmd( 'screen -dmS ' + 'mininet.' + node.name)
args = [ 'screen', '-D', '-RR', '-S', 'mininet.' + node.name ]
else:
args = [ 'sh', '-c', 'exec tail -f /tmp/' + node.name + '*.log' ]