From f96c2c7d0779e3bd965b5a58110e6697330bd337 Mon Sep 17 00:00:00 2001 From: immarvin Date: Fri, 9 Nov 2012 02:31:41 +0000 Subject: [PATCH] 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 --- xCAT-server/lib/xcat/plugins/anaconda.pm | 3 --- 1 file changed, 3 deletions(-) diff --git a/xCAT-server/lib/xcat/plugins/anaconda.pm b/xCAT-server/lib/xcat/plugins/anaconda.pm index 100a33a6a..2890def8e 100644 --- a/xCAT-server/lib/xcat/plugins/anaconda.pm +++ b/xCAT-server/lib/xcat/plugins/anaconda.pm @@ -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:";