-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:
		| @@ -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"; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user