fix updating resolv.conf for IPv6 stateless DHCP6
This commit is contained in:
parent
ff5df9e336
commit
d3a64d956c
|
@ -14,6 +14,7 @@ files/ips.issue etc/issue.d
|
||||||
files/wit-logging.conf etc/strongswan.d
|
files/wit-logging.conf etc/strongswan.d
|
||||||
files/lldpd.wit etc/default
|
files/lldpd.wit etc/default
|
||||||
files/timesyncd6 etc/dhcp/dhclient-exit-hooks.d
|
files/timesyncd6 etc/dhcp/dhclient-exit-hooks.d
|
||||||
|
files/resolv6 etc/dhcp/dhclient-exit-hooks.d
|
||||||
templates/wit-swanctl.conf etc/swanctl/conf.d
|
templates/wit-swanctl.conf etc/swanctl/conf.d
|
||||||
templates/frr.conf.wit etc/frr
|
templates/frr.conf.wit etc/frr
|
||||||
templates/70-persistent-net.rules etc/udev/rules.d
|
templates/70-persistent-net.rules etc/udev/rules.d
|
||||||
|
|
|
@ -0,0 +1,6 @@
|
||||||
|
# Wit - on DHCP6 just always run make_resolv_conf .. otherwise stateless dhcp doesn't set DNS since old and new_dhcp6_server are always the same
|
||||||
|
case $reason in
|
||||||
|
BOUND6|RENEW6|REBIND6|REBOOT6)
|
||||||
|
make_resolv_conf
|
||||||
|
;;
|
||||||
|
esac
|
Loading…
Reference in New Issue