Version 0.5.3 dont save the running-conifg to startup config
Closed this issue · 7 comments
Hi,
I noticed that version 05.3 no longer saves the running conifg into the startup config, could you fix that.
With version 0.5.2 works it fine.
Regards
Nothing has changed with regards to that. In fact we are not modifying the "running config", as we are making changes to the DME model directly.
We had an reboot from a switch, the changes that were have made before were no longer there after the reboot. For testing i created a vlan with version 0.5.2 and 0.5.3. With version 0.5.2 the vlan was written into the startup-config, unfortunately not with version 0.5.3. I haven't checked the DME configuration
i have add the resource "nxos_save_config" to my terraform environment and works fine.. . We can close the issue
A nxos_save_config
resource does not exist for NX-OS. Are you referring to the IOS-XE provider maybe?
look here for the NX-OS rescource:
https://registry.terraform.io/providers/CiscoDevNet/nxos/latest/docs/resources/save_config
I am sorry, you are right. Got confused myself. :)
And yes, you need to "execute/create" that resource at the end to persist the config.