diff options
author | Christian Breunig <christian@breunig.cc> | 2023-07-03 21:07:53 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-07-03 21:07:53 +0200 |
commit | 5c1865487c5cf1bfb92ff873a97df4b129c9566f (patch) | |
tree | 501215f46d9d190b15f30bcd5c51e5e9ac3c5794 /src/migration-scripts/isis/0-to-1 | |
parent | f1b50757f816ad7a11077656c8fcf54d21bf1888 (diff) | |
parent | 33acdf68524eda8420c2bf4ea21255a0865f0374 (diff) | |
download | vyos-1x-5c1865487c5cf1bfb92ff873a97df4b129c9566f.tar.gz vyos-1x-5c1865487c5cf1bfb92ff873a97df4b129c9566f.zip |
Merge pull request #2070 from jvoss/isis-merge-config
isis: T5335: fix invalid isis config base in migration script
Diffstat (limited to 'src/migration-scripts/isis/0-to-1')
-rwxr-xr-x | src/migration-scripts/isis/0-to-1 | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/migration-scripts/isis/0-to-1 b/src/migration-scripts/isis/0-to-1 index 93cbbbed5..b75a7f72c 100755 --- a/src/migration-scripts/isis/0-to-1 +++ b/src/migration-scripts/isis/0-to-1 @@ -37,12 +37,9 @@ if not config.exists(base): # Nothing to do exit(0) -# Only one IS-IS process is supported, thus this operation is save -isis_base = base + config.list_nodes(base) - # We need a temporary copy of the config tmp_base = ['protocols', 'isis2'] -config.copy(isis_base, tmp_base) +config.copy(base, tmp_base) # Now it's save to delete the old configuration config.delete(base) |