diff -r bfdf1633b2a1 -r a3734856e0fa lib/update.operations --- a/lib/update.operations Sat Dec 21 22:43:38 2013 +0200 +++ b/lib/update.operations Sun Dec 22 15:33:32 2013 +0200 @@ -72,16 +72,17 @@ function update_hosts_dhcp { local out=$1; shift - local src=$1; shift + local domain="$1"; shift - if check_update $out $src "$@"; then - log_update "Generating DHCP hosts $out <- $src..." + if check_update $out "$@"; then + log_update "Generating DHCP hosts $out @ $domain <- $@..." do_update $out $OPT/bin/pvl.hosts-dhcp \ --hosts-charset=$CHARSET \ - $src "$@" + --hosts-domain=$domain \ + "$@" else - log_skip "Generating DHCP hosts $out <- $src: not changed" + log_skip "Generating DHCP hosts $out <- $@: not changed" fi }