mirror of
https://github.com/GNS3/gns3-server.git
synced 2026-11-03 14:01:15 +02:00
Use the registry to find vmrun if the default VMware install path does not exist.
This commit is contained in:
1 parent
15a7401654
commit
abd9c1dc48
2 files changed
+22
-8
No files matched your search
@@ -29,9 +29,7 @@ def _get_windows_interfaces_from_registry():
|
||||
|
||||
import winreg
|
||||
|
||||
|
||||
#HKLM\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces
|
||||
|
||||
interfaces = []
|
||||
try:
|
||||
hkey = winreg.OpenKey(winreg.HKEY_LOCAL_MACHINE, r"SOFTWARE\Microsoft\Windows NT\CurrentVersion\NetworkCards")
|
||||
|
||||
Reference in new issue
Block a user