13 lines
		
	
	
		
			275 B
		
	
	
	
		
			Bash
		
	
	
	
	
	
			
		
		
	
	
			13 lines
		
	
	
		
			275 B
		
	
	
	
		
			Bash
		
	
	
	
	
	
| #!/usr/bin/env bash
 | |
| 
 | |
| HERE="$(dirname "$0")"
 | |
| 
 | |
| # shellcheck source=net/datacenter-node-install/utils.sh
 | |
| source "$HERE"/utils.sh
 | |
| 
 | |
| ensure_env || exit 1
 | |
| 
 | |
| # Allow more files to be opened by a user
 | |
| sed -i 's/^\(# End of file\)/* soft nofile 65535\n\n\1/' /etc/security/limits.conf
 | |
| 
 |