-Do not makedhcp when going to offline a node

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5354 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
jbjohnso 2010-03-03 18:20:33 +00:00
parent 142679aa56
commit cd79757c5b
2 changed files with 2 additions and 2 deletions

View File

@ -461,7 +461,7 @@ sub process_request {
if (!$inittime) { $inittime=0;}
#dhcp stuff -- inittime is set when xcatd on sn is started
unless (($args[0] eq 'stat') || ($inittime)) {
unless (($args[0] eq 'stat') || ($inittime) || ($args[0] eq 'offline')) {
my $do_dhcpsetup=1;
my $sitetab = xCAT::Table->new('site');
if ($sitetab) {

View File

@ -511,7 +511,7 @@ sub process_request {
#dhcp stuff -- inittime is set when xcatd on sn is started
unless (($args[0] eq 'stat') || ($inittime)) {
unless (($args[0] eq 'stat') || ($inittime) || ($args[0] eq 'offline')) {
my $do_dhcpsetup=1;
my $sitetab = xCAT::Table->new('site');
if ($sitetab) {