2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-05-29 09:13:08 +00:00
2013-10-28 10:44:40 -04:00

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}