From f8068d6b95460e9e07baede8bcdbfdccb3d454b8 Mon Sep 17 00:00:00 2001 From: xyye Date: Fri, 3 May 2013 05:56:26 +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@16172 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 c65fba888..da8fc7313 100644 --- a/xCAT-server/lib/xcat/plugins/profilednodes.pm +++ b/xCAT-server/lib/xcat/plugins/profilednodes.pm @@ -978,11 +978,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."); }