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
This commit is contained in:
sjing 2013-03-13 06:07:41 +00:00
parent e02c1b8b67
commit 810bf5f8b7

View File

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