Skip to content
Snippets Groups Projects
Commit 12fea0f6 authored by Brandon Heller's avatar Brandon Heller
Browse files

examples/baresshd: ensure root permissions

Prevent idiots like me from getting confused by non-obvious 'broken pipe'
errors when they forget to put 'sudo' in front  :-)
parent bcfb3009
No related branches found
No related tags found
No related merge requests found
......@@ -3,6 +3,9 @@
"This example doesn't use OpenFlow, but attempts to run sshd in a namespace."
from mininet.node import Host
from mininet.util import ensureRoot
ensureRoot()
print "*** Creating nodes"
h1 = Host( 'h1' )
......
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