-Reap stale pxelinux config files
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3658 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
3073ff5469
commit
06a1efc0c0
@ -97,6 +97,7 @@ sub setstate {
|
||||
$kern->{kcmdline} =~ s/!myipfn!/$ipfn/;
|
||||
}
|
||||
my $pcfg;
|
||||
unlink($tftpdir."/xcat/xnba/nodes/".$node.".pxelinux");
|
||||
open($pcfg,'>',$tftpdir."/xcat/xnba/nodes/".$node);
|
||||
my $cref=$chainhash{$node}->[0]; #$chaintab->getNodeAttribs($node,['currstate']);
|
||||
print $pcfg "#!gpxe\n";
|
||||
|
Loading…
x
Reference in New Issue
Block a user