From 810bf5f8b71634f21f29ad29ce8ac4bbf70febdc Mon Sep 17 00:00:00 2001 From: sjing Date: Wed, 13 Mar 2013 06:07:41 +0000 Subject: [PATCH] backported from trunk. git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@15471 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-server/lib/xcat/plugins/anaconda.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/xCAT-server/lib/xcat/plugins/anaconda.pm b/xCAT-server/lib/xcat/plugins/anaconda.pm index 4520a3ed9..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; } @@ -1191,7 +1191,7 @@ sub mkinstall "/$installroot/autoinst/" . $node, $node, $pkglistfile, - $pkgdir, + $pkgdir, $platform, $partfile );