Fix Dynamips VM ignores changed console port

Fix #468
This commit is contained in:
Julien Duponchelle 2016-03-31 10:06:38 +02:00
parent 7b25ce04e8
commit e097a0e728
No known key found for this signature in database
GPG Key ID: F1E2485547D4595D

View File

@ -894,7 +894,7 @@ class Router(BaseVM):
"""
self.console = console
yield from self._hypervisor.send('vm set_con_tcp_port "{name}" {console}'.format(name=self._name, console=console))
yield from self._hypervisor.send('vm set_con_tcp_port "{name}" {console}'.format(name=self._name, console=self.console))
@asyncio.coroutine
def set_aux(self, aux):