1
0
mirror of https://github.com/GNS3/gns3-server synced 2024-11-24 17:28:08 +00:00

Ask user to refresh is user session if he just installed ubridge

Ref https://github.com/GNS3/gns3-server/issues/796
This commit is contained in:
Julien Duponchelle 2016-11-24 15:16:00 +01:00
parent 03555a3489
commit 2215702ae8
No known key found for this signature in database
GPG Key ID: CE8B29639E07F5E8

View File

@ -527,7 +527,7 @@ class BaseNode:
""" """
if self.ubridge_path is None: if self.ubridge_path is None:
raise NodeError("uBridge is not available or path doesn't exist") raise NodeError("uBridge is not available or path doesn't exist. Or you just install GNS3 and need to restart your user session to refresh user permissions.")
if not self._manager.has_privileged_access(self.ubridge_path): if not self._manager.has_privileged_access(self.ubridge_path):
raise NodeError("uBridge requires root access or capability to interact with network adapters") raise NodeError("uBridge requires root access or capability to interact with network adapters")