From b1b2aaf7dce47d9c648057e7c5472e5da0156231 Mon Sep 17 00:00:00 2001 From: jbjohnso Date: Thu, 27 Jan 2011 17:57:32 +0000 Subject: [PATCH] -Add domain to ipv6 networks git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8757 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-server/lib/xcat/plugins/dhcp.pm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/xCAT-server/lib/xcat/plugins/dhcp.pm b/xCAT-server/lib/xcat/plugins/dhcp.pm index 7f1b5d288..c04e7cd26 100644 --- a/xCAT-server/lib/xcat/plugins/dhcp.pm +++ b/xCAT-server/lib/xcat/plugins/dhcp.pm @@ -448,6 +448,7 @@ sub addrangedetection { my $begin; my $end; $netcfgs{$net->{net}}->{nameservers} = $net->{nameservers}; + $netcfgs{$net->{net}}->{domain} = $domain; #TODO: finer grained domains unless ($netcfgs{$net->{net}}->{nameservers}) { $netcfgs{$net->{net}}->{nameservers} = $::XCATSITEVALS{nameservers}; } @@ -1388,6 +1389,7 @@ sub addnet6 #posix timezone rfc 4833/tzdb timezone #phase 3 will include whatever is required to do Netboot6. That might be in the october timeframe for lack of implementations to test #boot url/param (rfc 59070) + push @netent, " option domain-name \"".$netcfgs{$net}->{domain}."\";\n"; my $nameservers = $netcfgs{$net}->{nameservers}; if ($nameservers and $nameservers =~ /:/) { push @netent," nameservers ".$netcfgs{$net}->{nameservers}.";\n";