Fixes wrong IOS config paths.

This commit is contained in:
Jeremy committed 2015-01-04 18:51:55 -07:00
1 parent 5265818365
commit 881cc6f592
1 file changed
+2
@@ -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))