correct the logic to fix 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@14282 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
9016681347
commit
f96c2c7d07
@ -633,9 +633,6 @@ 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:";
|
||||
|
Loading…
Reference in New Issue
Block a user