-Fix problem where XCATROOT ending in non-slash resulted in problems with recent checkins
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4040 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
a0df2c7f75
commit
f023330458
@ -404,11 +404,11 @@ sub process_request {
|
||||
|
||||
#back to normal business
|
||||
if (! -r "$tftpdir/xcat/pxelinux.0") {
|
||||
unless (-r $::XCATROOT."share/xcat/netboot/syslinux/pxelinux.0") {
|
||||
$callback->({error=>["Unable to find pxelinux.0 at ".$::XCATROOT."share/xcat/netboot/syslinux/pxelinux.0"],errorcode=>[1]});
|
||||
unless (-r $::XCATROOT."/share/xcat/netboot/syslinux/pxelinux.0") {
|
||||
$callback->({error=>["Unable to find pxelinux.0 at ".$::XCATROOT."/share/xcat/netboot/syslinux/pxelinux.0"],errorcode=>[1]});
|
||||
return;
|
||||
}
|
||||
copy($::XCATROOT."share/xcat/netboot/syslinux/pxelinux.0","$tftpdir/xcat/pxelinux.0");
|
||||
copy($::XCATROOT."/share/xcat/netboot/syslinux/pxelinux.0","$tftpdir/xcat/pxelinux.0");
|
||||
chmod(0644,"$tftpdir/pxelinux.0");
|
||||
}
|
||||
unless ( -r "$tftpdir/xcat/pxelinux.0" ) {
|
||||
|
Loading…
Reference in New Issue
Block a user