mirror of
				https://github.com/xcat2/xcat-core.git
				synced 2025-10-31 19:32:31 +00:00 
			
		
		
		
	Fixed device address to be lower case because autoyast is case-sensitive.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@15175 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
		| @@ -685,9 +685,9 @@ sub removeVM { | ||||
|          | ||||
|         @luns = split("\n", `ssh $::SUDOER\@$hcp "$::SUDO cat $::ZFCPPOOL/$_" | egrep -i $node`); | ||||
|         foreach (@luns) { | ||||
|             # Update entry: status,wwpn,lun,size,owner,channel,tag | ||||
|             # Update entry: status,wwpn,lun,size,range,owner,channel,tag | ||||
|             my @info = split(',', $_);    | ||||
|             $update = "free,$info[1],$info[2],$info[3],,,"; | ||||
|             $update = "free,$info[1],$info[2],$info[3],$info[4],,"; | ||||
|             $expression = "'s#" . $_ . "#" .$update . "#i'"; | ||||
|             $out = `ssh $::SUDOER\@$hcp "$::SUDO sed --in-place -e $expression $::ZFCPPOOL/$pool.conf"`; | ||||
|         } | ||||
| @@ -4869,7 +4869,7 @@ sub nodeSet { | ||||
|                     @tmp = split(',', $_); | ||||
|                     my $wwpn = $tmp[1]; | ||||
|                     my $lun = $tmp[2]; | ||||
|                     my $device = $tmp[6]; | ||||
|                     my $device = lc($tmp[6]); | ||||
|                     my $tag = $tmp[7]; | ||||
|                      | ||||
|                     # If multiple WWPNs or device channels are specified (multipathing), just take the 1st one | ||||
| @@ -5086,7 +5086,7 @@ END | ||||
|                     @tmp = split(',', $_); | ||||
|                     my $wwpn = $tmp[1]; | ||||
|                     my $lun = $tmp[2]; | ||||
|                     my $device = $tmp[6]; | ||||
|                     my $device = lc($tmp[6]); | ||||
|                     my $tag = $tmp[7]; | ||||
|                                          | ||||
|                     # If multiple WWPNs or device channels are specified (multipathing), just take the 1st one | ||||
|   | ||||
		Reference in New Issue
	
	Block a user