mirror of
https://github.com/GNS3/gns3-server.git
synced 2026-11-03 14:01:15 +02:00
Test work without vpcs binary
This commit is contained in:
1 parent
0eaa7be86a
commit
984d47f9c8
5 files changed
+10
-7
No files matched your search
@@ -77,8 +77,6 @@ class VPCSVM(BaseVM):
|
||||
else:
|
||||
self._console = self._manager.port_manager.get_free_console_port()
|
||||
|
||||
self._check_requirements()
|
||||
|
||||
def __del__(self):
|
||||
self._kill_process()
|
||||
|
||||
@@ -169,6 +167,8 @@ class VPCSVM(BaseVM):
|
||||
Starts the VPCS process.
|
||||
"""
|
||||
|
||||
self._check_requirements()
|
||||
|
||||
if not self.is_running():
|
||||
if not self._ethernet_adapter.get_nio(0):
|
||||
raise VPCSError("This VPCS instance must be connected in order to start")
|
||||
|
||||
Reference in new issue
Block a user