mirror of
https://github.com/GNS3/gns3-server.git
synced 2026-11-03 14:01:15 +02:00
Fix binding console host for VMware and VirtualBox
Ref https://github.com/GNS3/gns3-gui/issues/1757
This commit is contained in:
2 files changed
+3
-2
No files matched your search
@@ -907,7 +907,8 @@ class VirtualBoxVM(BaseNode):
|
||||
writer=self._remote_pipe,
|
||||
binary=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
|
||||
def _stop_remote_console(self):
|
||||
|
||||
@@ -805,7 +805,7 @@ class VMwareVM(BaseNode):
|
||||
writer=self._remote_pipe,
|
||||
binary=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
|
||||
def _stop_remote_console(self):
|
||||
|
||||
Reference in new issue
Block a user