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:
phamt 2013-02-27 16:33:16 +00:00
parent dee47b2c55
commit 889ef5508e

View File

@ -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`;
}
}