changed site attribute dhcpsnonly to disjointdhcps

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6398 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
linggao 2010-06-08 19:55:46 +00:00
parent 7d1b13795e
commit 0e6d47bac8
2 changed files with 2 additions and 1 deletions

View File

@ -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".

View File

@ -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};
}