mirror of
https://github.com/GNS3/gns3-server.git
synced 2024-12-21 13:47:50 +00:00
parent
016c3e515b
commit
343f2b574d
@ -321,7 +321,7 @@ class DockerVM(BaseVM):
|
||||
aux = self.aux
|
||||
state = yield from self._get_container_state()
|
||||
|
||||
yield from self.close()
|
||||
yield from self.reset()
|
||||
yield from self.create()
|
||||
self.console = console
|
||||
self.aux = aux
|
||||
@ -567,7 +567,10 @@ class DockerVM(BaseVM):
|
||||
|
||||
if not (yield from super().close()):
|
||||
return False
|
||||
yield from self.reset()
|
||||
|
||||
@asyncio.coroutine
|
||||
def reset(self):
|
||||
try:
|
||||
if self.console_type == "vnc":
|
||||
if self._x11vnc_process:
|
||||
|
Loading…
Reference in New Issue
Block a user