From d477eb83668fd545023b20110944b62f84186b4d Mon Sep 17 00:00:00 2001 From: grossmj Date: Sat, 18 May 2024 23:30:58 +0700 Subject: [PATCH] Fix reset console for non running IOU devices --- gns3server/compute/iou/iou_vm.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gns3server/compute/iou/iou_vm.py b/gns3server/compute/iou/iou_vm.py index f3f572db..f716f1cc 100644 --- a/gns3server/compute/iou/iou_vm.py +++ b/gns3server/compute/iou/iou_vm.py @@ -661,7 +661,8 @@ class IOUVM(BaseNode): self._telnet_server.close() await self._telnet_server.wait_closed() self._telnet_server = None - await self.start_console() + if self.is_running(): + await self.start_console() @locking async def _networking(self):