Merge pull request #2287 from shin-/2284-ensure-network-exists-run

Ensure network exists when calling run before up
This commit is contained in:
Daniel Nephin 2015-10-30 10:41:55 -04:00
commit 04a76dc284
2 changed files with 16 additions and 0 deletions

View file

@ -380,6 +380,8 @@ class TopLevelCommand(DocoptCommand):
start_deps=True,
strategy=ConvergenceStrategy.never,
)
elif project.use_networking:
project.ensure_network_exists()
tty = True
if detach or options['-T'] or not sys.stdin.isatty():