If site.dnshandler is blank, then default to ddns.pm.

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10997 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
sjing 2011-11-14 09:02:42 +00:00
parent 274b8dcf6d
commit c8ec7c366e

View File

@ -25,6 +25,12 @@ if ( $distro =~ /ubuntu.*/ ){
sub handled_commands
{
my $sitetab = xCAT::Table->new('site');
my $stab = $sitetab->getAttribs({key=>'dnshandler'},['value']);
unless ($stab and $stab->{value}) {
return {"makedns" => "ddns"};
}
return {"makedns" => "site:dnshandler"};
}
sub getzonesfornet {