use --hosts-include=etc/hosts for pvl.hosts-* operations
authorTero Marttila <terom@paivola.fi>
Sun, 22 Dec 2013 18:22:37 +0200
changeset 99 934aab83b769
parent 98 a3734856e0fa
child 100 44c32fd60997
use --hosts-include=etc/hosts for pvl.hosts-* operations
lib/update.operations
--- a/lib/update.operations	Sun Dec 22 15:33:32 2013 +0200
+++ b/lib/update.operations	Sun Dec 22 18:22:37 2013 +0200
@@ -63,6 +63,7 @@
     
         do_update "$out" $OPT/bin/pvl.hosts-dns \
             --hosts-charset=$CHARSET \
+            --hosts-include=etc/hosts \
             --forward-zone="$domain" \
              "$@"
     else
@@ -79,7 +80,7 @@
 
         do_update $out $OPT/bin/pvl.hosts-dhcp \
             --hosts-charset=$CHARSET \
-            --hosts-domain=$domain \
+            --hosts-include=etc/hosts \
             "$@"
     else
         log_skip "Generating DHCP hosts $out <- $@: not changed"
@@ -98,6 +99,7 @@
     
         do_update "$out" $OPT/bin/pvl.hosts-dns \
             --hosts-charset=$CHARSET \
+            --hosts-include=etc/hosts \
             --reverse-zone="$reverse" \
             "$@"
     else