Add rsh & rcp to site table for AIX.

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@725 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
nott 2008-03-07 19:52:29 +00:00
parent d8debc2158
commit 77cfc892c1

View File

@ -337,7 +337,13 @@ if (( ! -r "/etc/xcat/site.sqlite" ) || $::FORCE){
$chtabcmds .= "$::XCATROOT/sbin/chtab key=installdir site.value=$installdir;";
$chtabcmds .= "$::XCATROOT/sbin/chtab key=master site.value=$master;";
$chtabcmds .= "$::XCATROOT/sbin/chtab key=domain site.value=$domain;";
$chtabcmds .= "$::XCATROOT/sbin/chtab key=timezone site.value=$timezone";
if ($::osname eq 'Linux') {
$chtabcmds .= "$::XCATROOT/sbin/chtab key=timezone site.value=$timezone";
}
if ($::osname eq 'AIX') {
$chtabcmds .= "$::XCATROOT/sbin/chtab key=rsh site.value=/bin/rsh;";
$chtabcmds .= "$::XCATROOT/sbin/chtab key=rcp site.value=/bin/rcp;";
}
my $outref = xCAT::Utils->runcmd("$chtabcmds", 0);
if ($::RUNCMD_RC != 0)