Skip to content

Commit

Permalink
First restore VM playground, then start dnsmasq. (#706)
Browse files Browse the repository at this point in the history
  • Loading branch information
jstarink authored Apr 11, 2022
1 parent 4000279 commit 5b95a3f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions drakrun/drakrun/playground.py
Original file line number Diff line number Diff line change
Expand Up @@ -145,9 +145,9 @@ def main():
handlers=[logging.StreamHandler()],
)

with graceful_exit(start_dnsmasq(args.vm_id, args.dns)), DrakmonShell(
args.vm_id, args.dns
) as shell:
with DrakmonShell(args.vm_id, args.dns) as shell, graceful_exit(
start_dnsmasq(args.vm_id, args.dns)
):
helpers = {
"help": shell.help,
"copy": shell.copy,
Expand Down

0 comments on commit 5b95a3f

Please sign in to comment.