summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2020-04-19 10:42:43 +0200
committerChristian Poessinger <christian@poessinger.com>2020-04-19 10:42:45 +0200
commit84f20f1d5e09ea5da53ba1c81c9b92683a294409 (patch)
tree7e0462aabd68ed8319773c0b2de4adbf9a5a39ab
parent3bd64cad570f092a3534e3030ed74be4e15fc468 (diff)
downloadvyos-1x-84f20f1d5e09ea5da53ba1c81c9b92683a294409.tar.gz
vyos-1x-84f20f1d5e09ea5da53ba1c81c9b92683a294409.zip
ipoe-server: T2324: bugfix name-server migration
... sometimes it seems to have been called dns-server or dns-servers :/ ... lucky me!
-rwxr-xr-xsrc/migration-scripts/ipoe-server/0-to-14
1 files 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]):