mirror of
https://github.com/GNS3/gns3-server
synced 2025-01-27 00:11:07 +00:00
Fix binding console host for VMware and VirtualBox
Ref https://github.com/GNS3/gns3-gui/issues/1757
This commit is contained in:
parent
b63273ec97
commit
035cbac28e
@ -907,7 +907,8 @@ class VirtualBoxVM(BaseNode):
|
|||||||
writer=self._remote_pipe,
|
writer=self._remote_pipe,
|
||||||
binary=True,
|
binary=True,
|
||||||
echo=True)
|
echo=True)
|
||||||
self._telnet_server = yield from asyncio.start_server(server.run, '127.0.0.1', self.console)
|
print(self._manager.port_manager.console_host)
|
||||||
|
self._telnet_server = yield from asyncio.start_server(server.run, self._manager.port_manager.console_host, self.console)
|
||||||
|
|
||||||
@asyncio.coroutine
|
@asyncio.coroutine
|
||||||
def _stop_remote_console(self):
|
def _stop_remote_console(self):
|
||||||
|
@ -805,7 +805,7 @@ class VMwareVM(BaseNode):
|
|||||||
writer=self._remote_pipe,
|
writer=self._remote_pipe,
|
||||||
binary=True,
|
binary=True,
|
||||||
echo=True)
|
echo=True)
|
||||||
self._telnet_server = yield from asyncio.start_server(server.run, '127.0.0.1', self.console)
|
self._telnet_server = yield from asyncio.start_server(server.run, self._manager.port_manager.console_host, self.console)
|
||||||
|
|
||||||
@asyncio.coroutine
|
@asyncio.coroutine
|
||||||
def _stop_remote_console(self):
|
def _stop_remote_console(self):
|
||||||
|
Loading…
Reference in New Issue
Block a user