mirror of
https://github.com/GNS3/gns3-server.git
synced 2026-11-03 22:11:14 +02:00
Fix starting Dynamips on Windows
This commit is contained in:
1 parent
eb1b70456f
commit
da7c7d16e4
2 files changed
+3
-1
No files matched your search
@@ -205,7 +205,7 @@ class Hypervisor(DynamipsHypervisor):
|
||||
command = [self._path]
|
||||
command.extend(["-N1"]) # use instance IDs for filenames
|
||||
command.extend(["-l", "dynamips_i{}_log.txt".format(self._id)]) # log file
|
||||
if parse_version(self.version) >= parse_version('0.2.23'):
|
||||
if not sys.platform.startswith("win") and parse_version(self.version) >= parse_version('0.2.23'):
|
||||
command.extend(["-H", "{}:{}".format(self._host, self._port), "--console-binding-addr", self._console_host])
|
||||
else:
|
||||
command.extend(["-H", str(self._port)])
|
||||
|
||||
Reference in new issue
Block a user