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