-Fix defect when dns plugin was requesting a column that didn't exist in the schema

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5640 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
jbjohnso 2010-04-01 14:09:42 +00:00
parent f3096a15d2
commit f10e730abb

View File

@ -399,7 +399,7 @@ sub update_namedconf {
while ($line !~ /^\};/) { #skip the old file zone
if ($line =~ /secret \"([^"]*)\"/) {
my $passtab = xCAT::Table->new("passwd",-create=>1);
$passtab->setAttribs({key=>"omapi",user=>"xcat_key"},{password=>$1});
$passtab->setAttribs({key=>"omapi",username=>"xcat_key"},{password=>$1});
}
$i++;
$line = $currnamed[$i];