mirror of
				https://github.com/xcat2/xcat-core.git
				synced 2025-10-31 11:22:27 +00:00 
			
		
		
		
	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:
		| @@ -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) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user