Modification : $vm_ -> $local_ .
[lhc/ateliers.git] / etc / sv / nsd3 / local.sh
index b05c73e..81028b9 100644 (file)
@@ -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 |