-Fix problem where mknb failed to set up PPC structure properly

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2702 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
jbjohnso 2009-02-05 15:46:43 +00:00
parent bae1e1110a
commit 4d10aaf6a8

View File

@ -118,6 +118,11 @@ sub process_request {
}
chmod(0644,"$tftpdir/pxelinux.0");
}
} elsif ($arch =~ /ppc/) {
mkpath("$tftpdir/etc");
if (! -r "$tftpdir/yaboot") {
$callback->({error=>["Unable to locate yaboot to boot ppc clients, install yaboot-xcat"],errorcode=>[1]});
}
}
my $dopxe=0;
foreach (keys %{$hexnets}) {