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 );