feat(compute): Fix missing SSH wrapping for auxiliary console

This commit is contained in:
Cristi 2026-04-30 17:47:54 +03:00
parent 8ff1698bfb
commit cc05eb5850
2 changed files with 3 additions and 3 deletions

View File

@ -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):
"""

View File

@ -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):
"""