diff options
author | Viacheslav Hletenko <v.gletenko@vyos.io> | 2023-06-02 16:06:52 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-06-02 16:06:52 +0300 |
commit | b8a3dc506b7bd83a0a0fcb7981571eeeb8eedf64 (patch) | |
tree | 57149092bdf8f04939ee50f7d094ed57eada0f8e /src/migration-scripts/system | |
parent | 6dd683f3e7a966bf0124444b746ab4a223bbe104 (diff) | |
parent | 362ece3add2771bf412131a306fd0c0cfa04c16c (diff) | |
download | vyos-1x-b8a3dc506b7bd83a0a0fcb7981571eeeb8eedf64.tar.gz vyos-1x-b8a3dc506b7bd83a0a0fcb7981571eeeb8eedf64.zip |
Merge pull request #2023 from jestabro/error-passing
configtree: T5251: catch/raise errors in functions delete and delete_value
Diffstat (limited to 'src/migration-scripts/system')
-rwxr-xr-x | src/migration-scripts/system/18-to-19 | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/migration-scripts/system/18-to-19 b/src/migration-scripts/system/18-to-19 index fd0e15d42..38479d222 100755 --- a/src/migration-scripts/system/18-to-19 +++ b/src/migration-scripts/system/18-to-19 @@ -92,9 +92,6 @@ else: for intf in dhcp_interfaces: config.set(base + ['name-servers-dhcp'], value=intf, replace=False) - # delete old node - config.delete(base + ['disable-dhcp-nameservers']) - try: with open(file_name, 'w') as f: f.write(config.to_string()) |