X-Git-Url: https://git.cyclocoop.org/?p=lhc%2Fateliers.git;a=blobdiff_plain;f=etc%2Fsv%2Fnsd3%2Flocal.sh;h=81028b9a5e4a635521a19d5a134c95944e19516e;hp=b05c73e442b3aa4ce7afdba4b6d4e67e57b2c4f1;hb=0d705d8e2a919ee40866307aa3e18b1a5c4e7583;hpb=3ad6118386977e346d81042e924e5db9c5f15b7d diff --git a/etc/sv/nsd3/local.sh b/etc/sv/nsd3/local.sh index b05c73e..81028b9 100644 --- a/etc/sv/nsd3/local.sh +++ b/etc/sv/nsd3/local.sh @@ -6,7 +6,7 @@ sudo install -d -m 750 -o root -g nsd \ { cat <<-EOF server: - ip-address: $vm_ipv4 + ip-address: $local_ipv4 ip4-only: yes EOF cat "$tool"/etc/nsd3/nsd.conf @@ -19,7 +19,7 @@ sudo install -d -m 750 -o root -g nsd \ then m4 \ --define=ZONE_DOMAIN=$zone \ --define=ZONE_SERIAL=$(cd "$tool" && git log -1 --format="%ct" -- etc/nsd3/zone.d/"$zone".zone.m4) \ - --define=VM_IP4=$vm_ipv4 \ + --define=LOCAL_IP4=$local_ipv4 \ "$tool"/etc/nsd3/zone.d/"$zone".zone.m4 else cat "$tool"/etc/nsd3/zone.d/"$zone".zone fi |