diff options
Diffstat (limited to 'src/migration-scripts')
-rwxr-xr-x | src/migration-scripts/interfaces/14-to-15 | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/migration-scripts/interfaces/14-to-15 b/src/migration-scripts/interfaces/14-to-15 index b170f7e4d..5c25f8628 100755 --- a/src/migration-scripts/interfaces/14-to-15 +++ b/src/migration-scripts/interfaces/14-to-15 @@ -33,6 +33,10 @@ if __name__ == '__main__': config = ConfigTree(config_file) base = ['interfaces', 'ethernet'] + if not config.exists(base): + # Nothing to do + exit(0) + migrate = False for interface in config.list_nodes(base): smp_base = base + [interface, 'smp-affinity'] |