mirror of
https://github.com/GNS3/gns3-server.git
synced 2025-01-29 15:44:24 +00:00
Do not block on .lock for VMware OSX
This commit is contained in:
parent
1e722254f7
commit
5aa9d4d7b9
@ -397,7 +397,8 @@ class VMwareVM(BaseVM):
|
|||||||
Starts this VMware VM.
|
Starts this VMware VM.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
if os.path.exists(self._vmx_path + ".lck"):
|
# The lock dection is not working on OSX the .lck is never deleted
|
||||||
|
if os.path.exists(self._vmx_path + ".lck") and not sys.platform.startswith("darwin"):
|
||||||
raise VMwareError("VM locked, it is either running or being edited in VMware")
|
raise VMwareError("VM locked, it is either running or being edited in VMware")
|
||||||
|
|
||||||
ubridge_path = self.ubridge_path
|
ubridge_path = self.ubridge_path
|
||||||
|
Loading…
x
Reference in New Issue
Block a user