From 46910a183e9f433502ebccbe4b5dc9b783e515ac Mon Sep 17 00:00:00 2001 From: Julien Duponchelle Date: Mon, 22 Aug 2016 18:37:32 +0200 Subject: [PATCH] Allow to use the local node even without --local --- gns3server/controller/__init__.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/gns3server/controller/__init__.py b/gns3server/controller/__init__.py index 47cc0923..4a9ce7f0 100644 --- a/gns3server/controller/__init__.py +++ b/gns3server/controller/__init__.py @@ -242,9 +242,7 @@ class Controller: return self._computes[compute_id] except KeyError: server_config = Config.instance().get_section_config("Server") - if compute_id == "local" and server_config.getboolean("local", False) is False: - raise aiohttp.web.HTTPNotFound(text="You try to use a node on the local server but the controller is not started with --local") - elif compute_id == "vm": + if compute_id == "vm": raise aiohttp.web.HTTPNotFound(text="You try to use a node on the GNS3 VM server but the GNS3 is not configured") raise aiohttp.web.HTTPNotFound(text="Compute ID {} doesn't exist".format(compute_id))