Not run makedhcp during nodeimport

This commit is contained in:
Jia Zhao 2015-02-05 13:55:30 +08:00
parent d875a07bad
commit a578f264f1

View File

@ -116,9 +116,10 @@ sub process_request {
if ($command eq 'kitnodeadd' or $command eq 'kitnodeupdate' or $command eq 'kitnoderefresh') {
push @commandslist, ['makehosts', ''];
push @commandslist, ['makedns', ''];
if ($macflag) {
push @commandslist, ['makedhcp', ''];
}
# Remove 'makedhcp' command, nodeset will update dhcp lease file
#if ($macflag) {
# push @commandslist, ['makedhcp', ''];
#}
push @commandslist, ['makeknownhosts', ''];
if ($runconservercmd) {
push @commandslist, ['makeconservercf', ''];