-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
This commit is contained in:
jbjohnso 2011-01-27 17:57:32 +00:00
parent 38cfe5cafe
commit b1b2aaf7dc

View File

@ -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";