From 84f20f1d5e09ea5da53ba1c81c9b92683a294409 Mon Sep 17 00:00:00 2001 From: Christian Poessinger Date: Sun, 19 Apr 2020 10:42:43 +0200 Subject: ipoe-server: T2324: bugfix name-server migration ... sometimes it seems to have been called dns-server or dns-servers :/ ... lucky me! --- src/migration-scripts/ipoe-server/0-to-1 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/migration-scripts/ipoe-server/0-to-1 b/src/migration-scripts/ipoe-server/0-to-1 index 2e36ab378..f328ebced 100755 --- a/src/migration-scripts/ipoe-server/0-to-1 +++ b/src/migration-scripts/ipoe-server/0-to-1 @@ -40,7 +40,7 @@ if not config.exists(base): else: # Migrate IPv4 DNS servers - dns_base = base + ['dns-servers'] + dns_base = base + ['dns-server'] if config.exists(dns_base): for server in ['server-1', 'server-2']: if config.exists(dns_base + [server]): @@ -50,7 +50,7 @@ else: config.delete(dns_base) # Migrate IPv6 DNS servers - dns_base = base + ['dnsv6-servers'] + dns_base = base + ['dnsv6-server'] if config.exists(dns_base): for server in ['server-1', 'server-2', 'server-3']: if config.exists(dns_base + [server]): -- cgit v1.2.3