-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:
parent
142679aa56
commit
cd79757c5b
@ -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) {
|
||||
|
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user