From 2361f0593f93623858a91ac4b77ce2fa37ae354e Mon Sep 17 00:00:00 2001 From: jbjohnso Date: Thu, 4 Nov 2010 20:00:56 +0000 Subject: [PATCH] -Fix xnba cleanup in offline nodeset git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8049 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-server/lib/xcat/plugins/xnba.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/xCAT-server/lib/xcat/plugins/xnba.pm b/xCAT-server/lib/xcat/plugins/xnba.pm index 0b2e633ce..e5e0f0cb1 100644 --- a/xCAT-server/lib/xcat/plugins/xnba.pm +++ b/xCAT-server/lib/xcat/plugins/xnba.pm @@ -510,8 +510,8 @@ sub process_request { $callback->(\%response); } if($args[0] eq 'offline') { - unlink($tftpdir."/xcat/xnba/nodes/".$node); - unlink($tftpdir."/xcat/xnba/nodes/".$node.".pxelinux"); + unlink($tftpdir."/xcat/xnba/nodes/".$_); + unlink($tftpdir."/xcat/xnba/nodes/".$_.".pxelinux"); } } }