Weaken Postage.pm requirement of PPCdb
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11811 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
eb13fe149e
commit
43fbad64ac
@ -322,7 +322,7 @@ sub makescript
|
||||
# $passwdtab->getAttribs({key => 'system', username => 'root'},
|
||||
# 'password', 'cryptmethod');
|
||||
{
|
||||
use xCAT::PPCdb qw(get_usr_passwd);
|
||||
require xCAT::PPCdb;
|
||||
my $et = xCAT::PPCdb::get_usr_passwd('system', 'root');
|
||||
if ($et and defined($et->{'password'}))
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user