diff options
| author | Indrajit Raychaudhuri <irc@indrajit.com> | 2025-01-07 11:18:12 -0600 |
|---|---|---|
| committer | Indrajit Raychaudhuri <irc@indrajit.com> | 2026-07-24 12:15:25 -0500 |
| commit | e0c4655c6c06f6fd24adddea7371c6d68615c54c (patch) | |
| tree | 64b2c4938c928d1cb305052fff0fe848f59feee3 /src/migration-scripts | |
| parent | bc8205cce9a105c44abd6ac2604b1ebba0dffbee (diff) | |
| download | vyos-1x-e0c4655c6c06f6fd24adddea7371c6d68615c54c.tar.gz vyos-1x-e0c4655c6c06f6fd24adddea7371c6d68615c54c.zip | |
ddclient: T6981: Remove defunct woima
Since woima (woima.fi) has been shut down, we need
to remove any configuration path that refers to woima.
Apply migration to remove woima from dynamic DNS
service configurations.
Diffstat (limited to 'src/migration-scripts')
| -rw-r--r-- | src/migration-scripts/dns-dynamic/4-to-5 | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/migration-scripts/dns-dynamic/4-to-5 b/src/migration-scripts/dns-dynamic/4-to-5 index 3a055a122..3873c00af 100644 --- a/src/migration-scripts/dns-dynamic/4-to-5 +++ b/src/migration-scripts/dns-dynamic/4-to-5 @@ -15,6 +15,7 @@ # T6981: # - remove "service dns dynamic name <service> protocol googledomains" +# - remove "service dns dynamic name <service> protocol woima" # - remove "service dns dynamic name <service> address web url ..." # when url is https://domains.google.com/* @@ -33,11 +34,11 @@ def migrate(config: ConfigTree) -> None: service_path = base_path + [service] - # Remove configurations using protocol 'googledomains' + # Remove configurations using protocol 'googledomains' and 'woima' if config.exists(service_path + ['protocol']): protocol = config.return_value(service_path + ['protocol']) - if protocol == 'googledomains': - Warning(f'Removing {service} using protocol "googledomains" because the service has been shutdown') + if protocol in ['googledomains', 'woima']: + Warning(f'Removing {service} using protocol "{protocol}" because the service has been shutdown') config.delete(service_path) # Look for 'address web' with 'url' set to 'googledomains' or 'https://domains.google.com' |
