Created
November 23, 2013 17:57
-
-
Save groob/7617835 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
rpm --import http://packages.vmware.com/tools/keys/VMWARE-PACKAGING-GPG-DSA-KEY.pub | |
rpm --import http://packages.vmware.com/tools/keys/VMWARE-PACKAGING-GPG-RSA-KEY.pub | |
echo -e "[vmware-tools]\nname=VMware Tools\nbaseurl=http://packages.vmware.com\ | |
/tools/esx/5.1latest/rhel6/x86_64\nenabled=1\ngpgcheck=1" > /etc/yum.repos.d\ | |
/vmware-tools.repo | |
yum makecache | |
yum clean all | |
yum -y install vmware-tools-hgfs vmware-tools-esx-nox | |
echo "modprobe vmhgfs" > /etc/sysconfig/modules/vmhgfs.modules | |
chmod +x /etc/sysconfig/modules/vmhgfs.modules |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment