prescripts will key of A for any actions that has A=B format
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5010 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
db7ddbb551
commit
eb2a3ea42f
@ -251,7 +251,10 @@ sub runendpre
|
||||
#-------------------------------------------------------
|
||||
sub getprescripts
|
||||
{
|
||||
my ($nodes, $action, $colname) = @_;
|
||||
my ($nodes, $tmp_action, $colname) = @_;
|
||||
my @action_a=split('=',$tmp_action);
|
||||
my $action=$action_a[0];
|
||||
|
||||
my %ret=();
|
||||
if ($nodes && (@$nodes>0)) {
|
||||
my $tab = xCAT::Table->new('prescripts',-create=>1);
|
||||
|
Loading…
Reference in New Issue
Block a user