mirror of
				https://github.com/xcat2/xcat-core.git
				synced 2025-10-31 11:22:27 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			12 lines
		
	
	
		
			453 B
		
	
	
	
		
			Bash
		
	
	
	
	
	
			
		
		
	
	
			12 lines
		
	
	
		
			453 B
		
	
	
	
		
			Bash
		
	
	
	
	
	
| #!/bin/sh
 | |
| #first off, let's ditch UNMAP, per vwmare's recall...
 | |
| localcli system settings advanced set --int-value 0 --option /VMFS3/EnableBlockDelete
 | |
| localcli system settings advanced set --int-value 1 --option /UserVars/SuppressShellWarning
 | |
| #ok, now let's turn on some SSH and ESXShell fun
 | |
| localcli network firewall ruleset set -r sshServer -e y
 | |
| chkconfig ESXShell on
 | |
| chkconfig SSH on
 | |
| /etc/init.d/SSH start
 | |
| /etc/init.d/ESXShell start
 | |
| return ${SUCCESS}
 |