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:
parent
03555a3489
commit
2215702ae8
@ -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")
|
||||||
|
Loading…
Reference in New Issue
Block a user