mirror of
https://github.com/GNS3/gns3-server.git
synced 2026-11-03 05:51:15 +02:00
Fix docker console port lost during update
Fix https://github.com/GNS3/gns3-gui/issues/1026
This commit is contained in:
2 files changed
+7
No files matched your search
@@ -184,8 +184,11 @@ class DockerVM(BaseVM):
|
||||
"""
|
||||
Destroy an recreate the container with the new settings
|
||||
"""
|
||||
# We need to save the console port and restore it
|
||||
console = self.console
|
||||
yield from self.remove()
|
||||
yield from self.create()
|
||||
self.console = console
|
||||
|
||||
@asyncio.coroutine
|
||||
def start(self):
|
||||
|
||||
Reference in new issue
Block a user