diff --git a/perl-xCAT/xCAT/Schema.pm b/perl-xCAT/xCAT/Schema.pm index d0b80628e..0c0a7c353 100644 --- a/perl-xCAT/xCAT/Schema.pm +++ b/perl-xCAT/xCAT/Schema.pm @@ -671,6 +671,7 @@ site => { " specify different NICs for different nodes:\n". " mn|eth1,eth2;service|bond0.\n\n". " dhcpsetup: If set to 'n', it will skip the dhcp setup process in the nodeset cmd.\n\n". + " disjointdhcps: If set to '1', the .leases file on a service node only contains the nodes it manages. The default value is '0'.\n\n". " domain: The DNS domain name used for the cluster.\n\n". " forwarders: The DNS servers at your site that can provide names outside of the\n". " cluster. The DNS on the management node will forward requests it\n". diff --git a/xCAT-server/lib/xcat/plugins/dhcp.pm b/xCAT-server/lib/xcat/plugins/dhcp.pm index 156f4a912..b5e87e794 100644 --- a/xCAT-server/lib/xcat/plugins/dhcp.pm +++ b/xCAT-server/lib/xcat/plugins/dhcp.pm @@ -457,7 +457,7 @@ sub preprocess_request if ($sitetab) { my $href; - ($href) = $sitetab->getAttribs({key => 'dhcpsnonly'}, 'value'); + ($href) = $sitetab->getAttribs({key => 'disjointdhcps'}, 'value'); if ($href and $href->{value}) { $snonly=$href->{value}; }