Fix to allow changing the auxiliary console for IOS router nodes.

This commit is contained in:
grossmj 2024-05-18 23:43:50 +07:00
parent 4b1068e02f
commit 6f2b12c218
No known key found for this signature in database
GPG Key ID: 0A2D76AC45EA25CD

View File

@ -521,6 +521,10 @@ class Dynamips(BaseManager):
if usage is not None and usage != vm.usage:
vm.usage = usage
aux_type = settings.get("aux_type")
if aux_type is not None and aux_type != vm.aux_type:
vm.aux_type = aux_type
# update the configs if needed
await self.set_vm_configs(vm, settings)