Skip to content
Snippets Groups Projects
Commit 4a67fc9a authored by Bob Lantz's avatar Bob Lantz
Browse files

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.
parent 257a2f63
No related branches found
No related tags found
No related merge requests found
......@@ -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' ]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment