take out set of useDNSonMn

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10228 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
lissav 2011-08-04 20:54:20 +00:00
parent 1e1597db88
commit fd04bd738d

View File

@ -993,7 +993,6 @@ sub initDB
$chtabcmds .= "$::XCATROOT/sbin/chtab key=dnshandler site.value=ddns;";
$chtabcmds .= "$::XCATROOT/sbin/chtab key=vsftp site.value=y;";
$chtabcmds .= "$::XCATROOT/sbin/chtab key=cleanupxcatpost site.value=no;";
$chtabcmds .= "$::XCATROOT/sbin/chtab key=useDNSonMN site.value=1;";
if ($::osname eq 'AIX')
{
@ -1250,18 +1249,6 @@ sub initDB
}
}
my $cmds = "$::XCATROOT/sbin/tabdump site|grep useDNSonMN";
$outref = xCAT::Utils->runcmd("$cmds", -1);
if ($::RUNCMD_RC != 0)
{
# set site.useDNSonMN
$cmds = "$::XCATROOT/sbin/chtab key=useDNSonMN site.value=1;";
$outref = xCAT::Utils->runcmd("$cmds", 0);
if ($::RUNCMD_RC != 0)
{
xCAT::MsgUtils->message('E',"Could not set site.useDNSonMN.");
}
}
}
} # end initial DB install setup