diff options
author | Jernej Jakob <jernej.jakob@gmail.com> | 2020-06-11 09:09:42 +0200 |
---|---|---|
committer | Jernej Jakob <jernej.jakob@gmail.com> | 2020-06-11 22:10:47 +0200 |
commit | 0f8beae7426dfc1fdb75c993a505672d9dd2ec0f (patch) | |
tree | 649883b986082ebfa49c506a7df1f3924740a990 /src/migration-scripts/interfaces/3-to-4 | |
parent | 7000385c68b5816867650781a5d8a87ce90f52aa (diff) | |
download | vyos-1x-0f8beae7426dfc1fdb75c993a505672d9dd2ec0f.tar.gz vyos-1x-0f8beae7426dfc1fdb75c993a505672d9dd2ec0f.zip |
system: T2486: migrate disable-dhcp-nameservers to name-servers-dhcp
The previous implementation only supported disabling DHCP nameservers for
all interfaces, and was implemented improperly so it didn't work anyway.
This migrates it to name-servers-dhcp <interface>, which allows us to enable
just the interfaces we want to use for system DNS, identical in syntax to
'service dns forwarding dhcp <interface>'.
The migrator searches through all interfaces that have address 'dhcp(v6)?'
and adds them to the name-servers-dhcp list if disable-dhcp-nameservers is
not set, else it does nothing.
Diffstat (limited to 'src/migration-scripts/interfaces/3-to-4')
0 files changed, 0 insertions, 0 deletions