mirror of
				https://github.com/xcat2/xcat-core.git
				synced 2025-10-28 18:05:31 +00:00 
			
		
		
		
	support arguments for postscripts
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9803 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
		| @@ -368,11 +368,12 @@ sub preprocess_updatenode | ||||
|  | ||||
|             foreach (@posts) | ||||
|             { | ||||
|                 if (!-e "$installdir/postscripts/$_") | ||||
|                 my @aa=split(' ', $_); | ||||
|                 if (!-e "$installdir/postscripts/$aa[0]") | ||||
|                 { | ||||
|                     my $rsp = {}; | ||||
|                     $rsp->{data}->[0] = | ||||
|                       "The postcript $installdir/postscripts/$_ does not exist."; | ||||
|                       "The postcript $installdir/postscripts/$aa[0] does not exist."; | ||||
|                     $callback->($rsp); | ||||
|                     return \@requests; | ||||
|                 } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user