-Skip makedhcp on kvm and esx when dhcpsetup suggests it
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7896 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
f5921d7852
commit
65c126eeed
@ -2142,7 +2142,9 @@ sub mkvms {
|
||||
push @dhcpnodes,$_;
|
||||
delete $tablecfg{dhcpneeded}->{$_};
|
||||
}
|
||||
$executerequest->({command=>['makedhcp'],node=>\@dhcpnodes});
|
||||
unless ($::XCATSITEVALS{'dhcpsetup'} and ($::XCATSITEVALS{'dhcpsetup'} =~ /^n/i or $::XCATSITEVALS{'dhcpsetup'} =~ /^d/i or $::XCATSITEVALS{'dhcpsetup'} eq '0')) {
|
||||
$executerequest->({command=>['makedhcp'],node=>\@dhcpnodes});
|
||||
}
|
||||
}
|
||||
|
||||
sub setboot {
|
||||
|
@ -2255,7 +2255,9 @@ sub process_request {
|
||||
push @dhcpnodes,$_;
|
||||
delete $confdata->{dhcpneeded}->{$_};
|
||||
}
|
||||
$doreq->({command=>['makedhcp'],node=>\@dhcpnodes});
|
||||
unless ($::XCATSITEVALS{'dhcpsetup'} and ($::XCATSITEVALS{'dhcpsetup'} =~ /^n/i or $::XCATSITEVALS{'dhcpsetup'} =~ /^d/i or $::XCATSITEVALS{'dhcpsetup'} eq '0')) {
|
||||
$doreq->({command=>['makedhcp'],node=>\@dhcpnodes});
|
||||
}
|
||||
}
|
||||
|
||||
if ($command eq 'revacuate' or $command eq 'rmigrate') {
|
||||
|
Loading…
Reference in New Issue
Block a user