Modified:
/web/www/boot/lml/pxelinux.pl
=======================================
--- /web/www/boot/lml/pxelinux.pl Tue Jul 12 02:42:50 2011
+++ /web/www/boot/lml/pxelinux.pl Mon Sep 26 09:21:09 2011
@@ -254,7 +254,7 @@
$dhcp_hosts .= "host $u".($count>0?"-$count":"")." { \n";
$dhcp_hosts .= "\thardware ethernet $m;\n";
my $hostname = $LAB->{HOSTS}->{$u}->{HOSTNAME}.($count>0?"-$count":"");
- $dhcp_hosts .= "\toption host-name
\"$hostname".(exists($LAB->{DHCP}->{APPENDDOMAIN})?".".$LAB->{DHCP}->{APPENDDOMAIN}:"")."\";\n";
+ $dhcp_hosts .= "\toption host-name
\"$hostname".(exists($CONFIG{dhcp}{appenddomain})?".".$CONFIG{dhcp}{appenddomain}:"")."\";\n";
# the following forces the dhcpd to update the DNS records even if the
client did NOT send a hostname!!!
# took me full day to figure that out :-(
$dhcp_hosts .= "\tddns-hostname \"$hostname\";\n";