fix error creating policy table
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5563 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
8490ba2f8f
commit
3325c8c084
@ -1284,6 +1284,7 @@ sub genCredentials
|
||||
}
|
||||
else
|
||||
{
|
||||
if ($::genCredentials) { # if just generating new credentials
|
||||
xCAT::MsgUtils->message('I', "Created xCAT certificate.");
|
||||
my $chtabcmds =
|
||||
"$::XCATROOT/sbin/chtab priority=1.2 policy.name=$hname policy.rule=allow;";
|
||||
@ -1292,6 +1293,7 @@ sub genCredentials
|
||||
{
|
||||
xCAT::MsgUtils->message('E', "Could not create policy definition.$chtabcmds.");
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user