From b93c85c39096f1aee62f9ad5d7238b714842ce20 Mon Sep 17 00:00:00 2001 From: Julien Duponchelle Date: Wed, 6 Apr 2016 16:01:34 +0200 Subject: [PATCH] Allow to change the number of adapters for Docker (server side) --- gns3server/handlers/api/docker_handler.py | 1 + 1 file changed, 1 insertion(+) diff --git a/gns3server/handlers/api/docker_handler.py b/gns3server/handlers/api/docker_handler.py index 467574d3..42957f03 100644 --- a/gns3server/handlers/api/docker_handler.py +++ b/gns3server/handlers/api/docker_handler.py @@ -279,6 +279,7 @@ class DockerHandler: vm.console = request.json.get("console", vm.console) vm.start_command = request.json.get("start_command", vm.start_command) vm.environment = request.json.get("environment", vm.environment) + vm.adapters = request.json.get("adapters", vm.adapters) yield from vm.update() response.json(vm)