mirror of
				https://github.com/xcat2/xcat-core.git
				synced 2025-10-29 02:15:34 +00:00 
			
		
		
		
	support getmacs cb4lpar01 -D -f in hierachy env
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5963 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
		| @@ -1459,6 +1459,16 @@ sub process_request { | ||||
|     $request->{stdin}   = $req->{stdin}->[0]; | ||||
|     $request->{method} = $req->{method}->[0]; | ||||
|     $request->{op}   = $req->{op}->[0]; | ||||
|     #support more options in hierachy | ||||
|     if( ref( $req->{opt}) eq 'ARRAY' ) { | ||||
|         my $h = $req->{opt}->[0]; | ||||
|         my %t = (); | ||||
|         foreach my $k(keys %$h){ | ||||
|             $t{$k} = $h->{$k}->[0]; | ||||
|         } | ||||
|         $request->{opt} = \%t; | ||||
|      } | ||||
|  | ||||
| #    $request->{hwtype}  = $package; | ||||
|     $request->{callback}= $callback; | ||||
|     $request->{subreq}  = $subreq; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user