mirror of
https://github.com/GNS3/gns3-server.git
synced 2026-11-05 06:41:13 +02:00
feat(compute): Fix missing SSH wrapping for auxiliary console
This commit is contained in:
1 parent
8ff1698bfb
commit
cc05eb5850
2 files changed
+3
-3
No files matched your search
@@ -332,11 +332,11 @@ class Router(BaseNode):
|
||||
self._memory_watcher = FileWatcher(self._memory_files(), self._memory_changed, strategy="hash", delay=30)
|
||||
monitor_process(self._hypervisor.process, self._termination_callback)
|
||||
|
||||
if self._console_type == "ssh":
|
||||
if self._wrap_console or self._wrap_aux:
|
||||
try:
|
||||
await self.start_wrap_console()
|
||||
except OSError as e:
|
||||
raise DynamipsError(f"Could not start SSH Dynamips console {e}")
|
||||
raise DynamipsError(f"Could not start Dynamips console wrapper: {e}")
|
||||
|
||||
async def _termination_callback(self, returncode):
|
||||
"""
|
||||
|
||||
Reference in new issue
Block a user