fix bug 4075:nimol plugin has syntax errors

This commit is contained in:
zhaoertao 2014-04-21 00:15:07 -07:00
parent 672fea4fa3
commit b14184d3c8

View File

@ -412,7 +412,7 @@ sub create_imgconf_file {
my $rootpw = undef;
my $passwdtab = xCAT::Table->new('passwd');
if ($passwdtab) {
my $et = $passwdtab->getAttribs({key => 'vios' username => 'padmin'}, 'password');
my $et = $passwdtab->getAttribs({key => 'vios', username => 'padmin'}, 'password');
if ($et and defined ($et->{'password'})) {
$rootpw = $et->{'password'};
}