mirror of
https://github.com/GNS3/gns3-server.git
synced 2025-06-18 15:28:11 +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:
@ -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")
|
||||||
|
Reference in New Issue
Block a user