From bfb23ce7a3ba307ba6e57c856fe4f7b930c5c0e3 Mon Sep 17 00:00:00 2001 From: Julien Duponchelle <julien@gns3.net> Date: Tue, 17 Jan 2017 14:34:48 +0100 Subject: [PATCH] Fix hostname of VPCS is not changed Fix https://github.com/GNS3/gns3-gui/issues/1780 --- gns3server/handlers/api/compute/vpcs_handler.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/gns3server/handlers/api/compute/vpcs_handler.py b/gns3server/handlers/api/compute/vpcs_handler.py index 32746c58..d4096adf 100644 --- a/gns3server/handlers/api/compute/vpcs_handler.py +++ b/gns3server/handlers/api/compute/vpcs_handler.py @@ -99,7 +99,6 @@ class VPCSHandler: vm = vpcs_manager.get_node(request.match_info["node_id"], project_id=request.match_info["project_id"]) vm.name = request.json.get("name", vm.name) vm.console = request.json.get("console", vm.console) - vm.startup_script = request.json.get("startup_script", vm.startup_script) vm.updated() response.json(vm) @@ -270,7 +269,6 @@ class VPCSHandler: yield from vm.start_capture(port_number, pcap_file_path) response.json({"pcap_file_path": pcap_file_path}) - @Route.post( r"/projects/{project_id}/vpcs/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/stop_capture", parameters={