Remove --controller

This add too much complexity and it can work
without it.

Fix https://github.com/GNS3/gns3-vm/issues/80, #645
This commit is contained in:
Julien Duponchelle committed 2016-09-07 10:04:28 +02:00
1 parent 9c6ee97ff2
commit f1fe7246e7
7 files changed
+2 -33

No files matched your search

-7
View File
@@ -224,13 +224,6 @@ class Controller:
self._settings = val
self.notification.emit("settings.updated", val)
def is_enabled(self):
"""
:returns: whether the current instance is the controller
of our GNS3 infrastructure.
"""
return Config.instance().get_section_config("Server").getboolean("controller")
@asyncio.coroutine
def add_compute(self, compute_id=None, name=None, force=False, connect=True, **kwargs):
"""