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/branches/2.7@14275 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
ac28aa7e16
commit
aa1fcd2493
@ -607,7 +607,10 @@ 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:";
|
||||
# print "eth0 is used as the default booting network devices...\n";
|
||||
|
Loading…
Reference in New Issue
Block a user