fixed defect #3130 installnic=mac does not work for rh5 ppc64 netboot
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14274 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
		| @@ -633,6 +633,9 @@ sub mknetboot | ||||
|         } elsif ($reshash->{$node}->[0] and $reshash->{$node}->[0]->{primarynic} and $reshash->{$node}->[0]->{primarynic} ne "mac") { | ||||
|             $useifname=1; | ||||
|             $kcmdline .= "ifname=".$reshash->{$node}->[0]->{primarynic}.":"; | ||||
|         }elsif($osver =~ /^rhels5/ and $arch=~/^ppc/){ | ||||
| 	    #for rhels5-ppc, is we specify installnic="mac",boot device cannot be found during netboot | ||||
|             $useifname=1; | ||||
|         } | ||||
|         #else { #no, we autodetect and don't presume anything | ||||
|         #    $kcmdline .="eth0:"; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user