Skip to content
Snippets Groups Projects
Commit f19aee23 authored by Michael Marsh's avatar Michael Marsh
Browse files

create /var/run/netns if it's not there

parent e2eca738
No related branches found
No related tags found
No related merge requests found
......@@ -154,6 +154,9 @@ def start_node(base_name,i):
# Add the node's info to our list.
nodelist.append(entry)
# First, make sure that /var/run/netns exists.
subprocess.call([ 'sudo', 'mkdir', '-p', '/var/run/netns' ])
for n in range(ntwk['num_nodes']):
start_node(ntwk['name'],n)
......
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