mirror of
https://github.com/GNS3/gns3-server.git
synced 2026-08-27 12:30:13 +03:00
feat(compute): Fix missing SSH wrapping for auxiliary console
This commit is contained in:
parent
8ff1698bfb
commit
cc05eb5850
@ -715,7 +715,7 @@ class DockerVM(BaseNode):
|
||||
raise DockerError(
|
||||
f"Could not start {transport} server on socket {self._manager.port_manager.console_host}:{self.aux}: {e}"
|
||||
)
|
||||
log.debug(f"Docker container '{self.name}' started listen for auxiliary {self.aux_type} on {self.aux}")
|
||||
log.debug(f"Docker container '{self.name}' started listening for auxiliary {self.aux_type} on {self.aux}")
|
||||
|
||||
async def _fix_permissions(self):
|
||||
"""
|
||||
|
||||
@ -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):
|
||||
"""
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user