2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-07-08 22:01:30 +00:00

Not run makedhcp during nodeimport

This commit is contained in:
Jia Zhao
2015-02-05 13:53:16 +08:00
parent eebd2723f8
commit c650955d49

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', ''];