mirror of
https://github.com/GNS3/gns3-server.git
synced 2026-11-06 07:11:13 +02:00
Fix issue when calling reset_console with running VPCS and Qemu nodes. Ref #1619
This commit is contained in:
1 parent
85679aaa94
commit
1148dbc48e
5 files changed
+34
-10
No files matched your search
@@ -344,6 +344,15 @@ class VPCSVM(BaseNode):
|
||||
return True
|
||||
return False
|
||||
|
||||
async def reset_console(self):
|
||||
"""
|
||||
Reset console
|
||||
"""
|
||||
|
||||
await self.stop_wrap_console()
|
||||
if self.is_running():
|
||||
await self.start_wrap_console()
|
||||
|
||||
@BaseNode.console_type.setter
|
||||
def console_type(self, new_console_type):
|
||||
"""
|
||||
|
||||
Reference in new issue
Block a user