mirror of
				https://github.com/xcat2/xcat-core.git
				synced 2025-11-03 21:02:34 +00:00 
			
		
		
		
	Restore .rhosts file removed by NIM setup.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4402 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
		@@ -238,6 +238,12 @@ sub setupAIXsn
 | 
			
		||||
	#   !!!!! can't do diskless nodes w/ nimsh & SSL enabled!!!!
 | 
			
		||||
	#
 | 
			
		||||
 | 
			
		||||
	# restore the original .rhosts that was removed by NIM setup
 | 
			
		||||
	if (&runcmd("cp /.rhosts.prev /.rhosts ") != 0 ) {
 | 
			
		||||
		$msg = "$::sdate servicenode: Could not restore the .rhosts file.\n";
 | 
			
		||||
		`logger -t xcat $msg`;
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
	return 0;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user