diff options
author | Jonathan Voss <jvoss@onvox.net> | 2023-07-01 09:56:22 -0500 |
---|---|---|
committer | Jonathan Voss <jvoss@onvox.net> | 2023-07-03 09:43:46 -0500 |
commit | 33acdf68524eda8420c2bf4ea21255a0865f0374 (patch) | |
tree | 02dc47b6e169c62e10912e2f5b1cf352c9ef41bc /src/migration-scripts/isis/0-to-1 | |
parent | 4599a9e35b8944a56e82d990957da27444b7814c (diff) | |
download | vyos-1x-33acdf68524eda8420c2bf4ea21255a0865f0374.tar.gz vyos-1x-33acdf68524eda8420c2bf4ea21255a0865f0374.zip |
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) |