Thursday, February 12, 2015

Why do I still have to do this stuff when CentOS decides I need a kernel update?

#!/bin/sh
service vmware stop
rm /lib/modules/$(uname -r)/misc/vmmon.ko
vmware-modconfig --console --build-mod vmmon /usr/bin/gcc /lib/modules/$(uname -r)/build/include
depmod -a
service vmware start