From 20ff90225ae110f2d974e816dcdf00d3751e26ac Mon Sep 17 00:00:00 2001 From: immarvin Date: Fri, 8 Mar 2013 03:05:32 +0000 Subject: [PATCH] #3130 installnic=mac does not work for rh5 ppc64 netboot git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15426 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-server/lib/xcat/plugins/anaconda.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xCAT-server/lib/xcat/plugins/anaconda.pm b/xCAT-server/lib/xcat/plugins/anaconda.pm index 0571a0135..572ccf3fb 100644 --- a/xCAT-server/lib/xcat/plugins/anaconda.pm +++ b/xCAT-server/lib/xcat/plugins/anaconda.pm @@ -719,7 +719,7 @@ sub mknetboot $useifname=1; $kcmdline .= "ifname=".$reshash->{$node}->[0]->{primarynic}.":"; }else{ - if($arch=~ /ppc/) + if($osver =~ /rhels5/ and $arch=~ /ppc/) { $usemac=1; }