The other day I was installing kernel updates on a few of my Red Hat servers and I ran into a minor nuisance. After each reboot, I no longer had network connectivity on the hosts, that has the updated kernel. I then realized, that vmware-tools was not running on all of those hosts. So after a few manual instance of me running "vmware-tools-config.pl -d" and "/etc/init.d/network restart"….I decided to automate that, by adding the below into "/etc/rc.local"
if [ -e /etc/vmware-tools/not_configured ]; then
echo "vmware-tools not configured for running kernel $rkernel"
echo "running vmware-config-tools.pl"
echo "vmware-tools now compiled for running kernel $rkernel"
echo "restarting networking"
echo "network restarted"
After each host rebooted, I now had network connectivity and vmware-tools was running. I hope the above will save you some time.