From 81b2894658f558728883c0062f31d2d7e96b316a Mon Sep 17 00:00:00 2001 From: Julien Duponchelle Date: Thu, 17 Nov 2016 10:17:23 +0100 Subject: [PATCH] Fix KeyError: 'linked_clone' Fix #792 --- gns3server/handlers/api/compute/virtualbox_handler.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gns3server/handlers/api/compute/virtualbox_handler.py b/gns3server/handlers/api/compute/virtualbox_handler.py index 734f3449..50ef5bad 100644 --- a/gns3server/handlers/api/compute/virtualbox_handler.py +++ b/gns3server/handlers/api/compute/virtualbox_handler.py @@ -56,7 +56,7 @@ class VirtualBoxHandler: request.match_info["project_id"], request.json.get("node_id"), request.json.pop("vmname"), - linked_clone=request.json.pop("linked_clone"), + linked_clone=request.json.pop("linked_clone", False), console=request.json.get("console", None), adapters=request.json.get("adapters", 0))