Have mknb create pxelinux.cfg directory as appropriate
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@600 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
6f471c9f7d
commit
403c05e92e
@ -95,6 +95,8 @@ sub process_request {
|
||||
}
|
||||
my $cfgfile;
|
||||
if ($arch =~ /x86/) {
|
||||
mkpath("$tftpdir/pxelinux.cfg");
|
||||
chmod(0755,"$tftpdir/pxelinux.cfg");
|
||||
if (! -r "$tftpdir/pxelinux.0") {
|
||||
unless (-r "/usr/lib/syslinux/pxelinux.0") {
|
||||
$callback->({error=>["Unable to find pxelinux.0 "],errorcode=>[1]});
|
||||
|
Loading…
Reference in New Issue
Block a user