From 7af1ca3a406d277c0d34ace31390ad8072b7f07e Mon Sep 17 00:00:00 2001 From: xyye Date: Fri, 3 May 2013 05:54:43 +0000 Subject: [PATCH] remove makedhcp command for adding the unmanagement node git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8-pcm@16171 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-server/lib/xcat/plugins/profilednodes.pm | 5 ----- 1 file changed, 5 deletions(-) diff --git a/xCAT-server/lib/xcat/plugins/profilednodes.pm b/xCAT-server/lib/xcat/plugins/profilednodes.pm index 0864d0e10..9f0164b76 100644 --- a/xCAT-server/lib/xcat/plugins/profilednodes.pm +++ b/xCAT-server/lib/xcat/plugins/profilednodes.pm @@ -917,11 +917,6 @@ Usage: setrsp_progress("Warning: failed to update dns for unmanaged node."); } - $retref = xCAT::Utils->runxcmd({command=>["makedhcp"], node=>[$args_dict{"hostname"}]}, $request_command, 0, 2); - $retstrref = parse_runxcmd_ret($retref); - if ($::RUNCMD_RC != 0){ - setrsp_progress("Warning: failed to update dhcp for unmanaged node."); - } setrsp_infostr("Created unmanaged node."); }