diff --git a/xCAT/postscripts/setupesx b/xCAT/postscripts/setupesx new file mode 100644 index 000000000..138f77733 --- /dev/null +++ b/xCAT/postscripts/setupesx @@ -0,0 +1,40 @@ +# esx setup +# example on how to set up ESX. We setup ssh and also add a basic +# VLAN configuration + +# Enable SSH access to root +sed -e 's/PermitRootLogin no/PermitRootLogin yes/' /etc/ssh/sshd_config > /etc/ssh/sshd_config.new +mv -f /etc/ssh/sshd_config.new /etc/ssh/sshd_config +/etc/init.d/sshd restart + +# create a script that will launch the first time ESX does and configure +# the network +cat >/tmp/esxcfg.sh <>/etc/rc.d/rc.local <