mirror of
https://github.com/GNS3/gns3-server
synced 2024-11-28 03:08:14 +00:00
Fixes wrong IOS config paths.
This commit is contained in:
parent
5265818365
commit
881cc6f592
@ -435,6 +435,7 @@ class VM(object):
|
||||
else:
|
||||
router.set_config(startup_config_path)
|
||||
response["startup_config"] = startup_config_path
|
||||
del request["startup_config"]
|
||||
|
||||
if "private_config" in request:
|
||||
private_config_path = request["private_config"].replace("\\", '/')
|
||||
@ -445,6 +446,7 @@ class VM(object):
|
||||
else:
|
||||
router.set_config(router.startup_config, private_config_path)
|
||||
response["private_config"] = private_config_path
|
||||
del request["private_config"]
|
||||
|
||||
except DynamipsError as e:
|
||||
self.send_custom_error(str(e))
|
||||
|
Loading…
Reference in New Issue
Block a user