From 2b2d482aacce7bfa101e27705f9107f534e6cf17 Mon Sep 17 00:00:00 2001 From: leiaibj Date: Tue, 2 Jul 2013 02:36:49 +0000 Subject: [PATCH] Merge commit 16858 from trunk git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@16859 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-server/lib/xcat/plugins/00kitnodebase.pm | 4 ---- 1 file changed, 4 deletions(-) diff --git a/xCAT-server/lib/xcat/plugins/00kitnodebase.pm b/xCAT-server/lib/xcat/plugins/00kitnodebase.pm index 0cac579ef..2a000fa03 100644 --- a/xCAT-server/lib/xcat/plugins/00kitnodebase.pm +++ b/xCAT-server/lib/xcat/plugins/00kitnodebase.pm @@ -159,10 +159,6 @@ sub process_request { log_cmd_return($retref); setrsp_progress("Update DHCP entries"); - $retref = xCAT::Utils->runxcmd({command=>["makedhcp"], node=>$nodelist, arg=>['-d']}, $request_command, 0, 2); - log_cmd_return($retref); - # we should restart dhcp so that the node's records in /var/lib/dhcpd/dhcpd.lease can be clean up and re-generate. - system("/etc/init.d/dhcpd restart"); $retref = xCAT::Utils->runxcmd({command=>["makedhcp"], node=>$nodelist}, $request_command, 0, 2); log_cmd_return($retref);