mirror of
				https://github.com/xcat2/xcat-core.git
				synced 2025-10-31 03:12:30 +00:00 
			
		
		
		
	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:
		| @@ -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);   | ||||
|   | ||||
		Reference in New Issue
	
	Block a user