Jelajahi Sumber

Merge pull request #2853 from alexcern/dhcpv6

Set nameservers on DHCPv6 event
Scott Dodson 8 tahun lalu
induk
melakukan
ba76d3b2f5

+ 1 - 1
roles/openshift_node_dnsmasq/files/networkmanager/99-origin-dns.sh

@@ -28,7 +28,7 @@ cd /etc/sysconfig/network-scripts
 
 [ -f ../network ] && . ../network
 
-if [[ $2 =~ ^(up|dhcp4-change)$ ]]; then
+if [[ $2 =~ ^(up|dhcp4-change|dhcp6-change)$ ]]; then
   # If the origin-upstream-dns config file changed we need to restart
   NEEDS_RESTART=0
   UPSTREAM_DNS='/etc/dnsmasq.d/origin-upstream-dns.conf'