Mass migration for a bunch of config files

Hi,

I have a bunch of config files.
Any idea how to migrate these files from version 1.2 to 1.4

One idea ist load config, migrate and save them to file.
But with load the configuration is enable, I don´t want this.

I am looking for an idea to specify only the config file, migrate and save.
Without loading the configuration into memory.

I found the migration scripts but I must execute every single command…

/opt/vyatta/etc/config-migrate/migrate

On a running 1.4 system, the script:

/usr/libexec/vyos/run-config-migration.py

can be invoked with argument the config file in question; it will run all migration scripts and update (in place, with backup file created) the config file.

2 Likes

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.