mirror of
https://github.com/GNS3/gns3-server.git
synced 2025-06-12 20:38:23 +00:00
Only require privileged access for uBridge when connecting a cloud to an Ethernet/TAP interface. Fixes #1461.
This commit is contained in:
@ -554,8 +554,8 @@ class BaseNode:
|
||||
if self.ubridge_path is None:
|
||||
raise NodeError("uBridge is not available, path doesn't exist, or you just installed GNS3 and need to restart your user session to refresh user permissions.")
|
||||
|
||||
if not self._manager.has_privileged_access(self.ubridge_path):
|
||||
raise NodeError("uBridge requires root access or the capability to interact with network adapters")
|
||||
#if not self._manager.has_privileged_access(self.ubridge_path):
|
||||
# raise NodeError("uBridge requires root access or the capability to interact with network adapters")
|
||||
|
||||
server_config = self._manager.config.get_section_config("Server")
|
||||
server_host = server_config.get("host")
|
||||
|
Reference in New Issue
Block a user