mirror of
				https://github.com/xcat2/xcat-core.git
				synced 2025-10-31 11:22:27 +00:00 
			
		
		
		
	Fixed column labels for zfcp pools.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15271 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
		| @@ -3369,7 +3369,7 @@ sub cloneVM { | ||||
| 		    my @lines = split( '\n', $srcDiskDet ); | ||||
| 		     | ||||
| 		    # Loop through each line | ||||
| 		    for ( $i = 0 ; $i < @lines ; $i++ ) {		                 | ||||
| 		    for ( $i = 0 ; $i < @lines ; $i++ ) { | ||||
| 		        $lines[$i] =~ s/MDISK=//g; | ||||
| 		         | ||||
| 		        # Extract NIC address | ||||
| @@ -7033,7 +7033,7 @@ sub inventoryHypervisor { | ||||
|         if ($space eq "all" || !$space) { | ||||
|             $str = `ssh $::SUDOER\@$hcp "$::SUDO cat $::ZFCPPOOL/$pool.conf"`; | ||||
|         } else { | ||||
|             $str = "#status,wwpn,lun,size,owner,channel,tag\n"; | ||||
|             $str = "#status,wwpn,lun,size,range,owner,channel,tag\n"; | ||||
|             $str .= `ssh $::SUDOER\@$hcp "$::SUDO cat $::ZFCPPOOL/$pool.conf" | egrep -i $space`; | ||||
|         } | ||||
|     } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user