소스 검색

Merge pull request #2853 from alexcern/dhcpv6

Set nameservers on DHCPv6 event
Scott Dodson 8 년 전
부모
커밋
ba76d3b2f5
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      roles/openshift_node_dnsmasq/files/networkmanager/99-origin-dns.sh

+ 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'