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:
parent
274b8dcf6d
commit
c8ec7c366e
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user