mirror of
https://github.com/GNS3/gns3-server.git
synced 2026-11-03 22:11:14 +02:00
Dynamips import/export configs.
This commit is contained in:
1 parent
3797e27de5
commit
8d02f464c5
4 files changed
+56
-6
No files matched your search
@@ -480,6 +480,9 @@ class Dynamips(BaseManager):
|
||||
if vm.slots[0].wics and vm.slots[0].wics[wic_slot_id]:
|
||||
yield from vm.uninstall_wic(wic_slot_id)
|
||||
|
||||
# update the configs if needed
|
||||
yield from self.create_vm_configs(vm, settings.get("startup_config_content"), settings.get("private_config_content"))
|
||||
|
||||
@asyncio.coroutine
|
||||
def create_vm_configs(self, vm, startup_config_content, private_config_content):
|
||||
"""
|
||||
|
||||
Reference in new issue
Block a user