From f10e730abbafab534cebe200ae67a3d5fc4b271f Mon Sep 17 00:00:00 2001 From: jbjohnso Date: Thu, 1 Apr 2010 14:09:42 +0000 Subject: [PATCH] -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 --- xCAT-server/lib/xcat/plugins/dns.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xCAT-server/lib/xcat/plugins/dns.pm b/xCAT-server/lib/xcat/plugins/dns.pm index bd5ef1a19..f4b4b43c5 100644 --- a/xCAT-server/lib/xcat/plugins/dns.pm +++ b/xCAT-server/lib/xcat/plugins/dns.pm @@ -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];