-Correct db.<pathname> for full domain name files

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6414 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
jbjohnso 2010-06-09 18:53:46 +00:00
parent 4c7043be4c
commit bf52052bec

View File

@ -397,7 +397,7 @@ sub update_namedconf {
} else {
my $zfilename = $currzone;
$zfilename =~ s/\..*//;
#$zfilename =~ s/\..*//;
push @newnamed,"\t};\n","\tfile \"db.$zfilename\";\n","};\n";
}
} else {
@ -473,7 +473,7 @@ sub update_namedconf {
} else {
my $zfilename = $zone;
$zfilename =~ s/\..*//;
#$zfilename =~ s/\..*//;
push @newnamed,"\t};\n","\tfile \"db.$zfilename\";\n","};\n";
}
}
@ -485,7 +485,7 @@ sub update_namedconf {
push @newnamed,"\t\t$_;\n";
}
my $zfilename = $zone;
$zfilename =~ s/\..*//;
#$zfilename =~ s/\..*//;
push @newnamed,"\t};\n","\tfile \"db.$zfilename\";\n","};\n\n";
}
my $newnameconf;