|
|
|
@ -397,7 +397,8 @@ class VMwareVM(BaseVM):
|
|
|
|
|
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")
|
|
|
|
|
|
|
|
|
|
ubridge_path = self.ubridge_path
|
|
|
|
|