mirror of
https://github.com/GNS3/gns3-server.git
synced 2025-01-18 15:33:49 +02:00
Interface starting with gns3 are not display by default in the cloud
Fix https://github.com/GNS3/gns3-gui/issues/2199
This commit is contained in:
parent
211f48d981
commit
2dc83d7894
@ -240,7 +240,9 @@ def interfaces():
|
|||||||
# This interface have special behavior
|
# This interface have special behavior
|
||||||
for result in results:
|
for result in results:
|
||||||
result["special"] = False
|
result["special"] = False
|
||||||
for special_interface in ("lo", "vmnet", "vboxnet", "docker", "lxcbr", "virbr", "ovs-system", "veth", "fw", "p2p", "bridge", "vmware", "virtualbox"):
|
for special_interface in ("lo", "vmnet", "vboxnet", "docker", "lxcbr",
|
||||||
|
"virbr", "ovs-system", "veth", "fw", "p2p",
|
||||||
|
"bridge", "vmware", "virtualbox", "gns3"):
|
||||||
if result["name"].lower().startswith(special_interface):
|
if result["name"].lower().startswith(special_interface):
|
||||||
result["special"] = True
|
result["special"] = True
|
||||||
for special_interface in ("-nic"):
|
for special_interface in ("-nic"):
|
||||||
|
Loading…
Reference in New Issue
Block a user