-Fix iscsi plugin default processing to not fail under 'strict'
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@1945 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
		| @@ -54,11 +54,13 @@ sub process_request { | ||||
|       $callback->({error=>"/usr/sbin/tgtadm does not exist, iSCSI plugin currently requires it, please install scsi-target-utils package under CentOS, RHEL, or Fedora.  SLES support is not yet implemented",errorcode=>[1]}); | ||||
|       return; | ||||
|    } | ||||
|    @ARGV=@{$request->{arg}}; | ||||
|    my $lunsize = 4096; | ||||
|    GetOptions( | ||||
|       "size|s=i" => \$lunsize, | ||||
|    ); | ||||
|    if ($request->{arg)) { | ||||
|        @ARGV=@{$request->{arg}}; | ||||
|     GetOptions( | ||||
|           "size|s=i" => \$lunsize, | ||||
|     ); | ||||
|    } | ||||
|    my $iscsitab = xCAT::Table->new('iscsi');  | ||||
|    my @nodes = @{$request->{node}}; | ||||
|    my $sitetab = xCAT::Table->new('site'); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user