Created
February 20, 2015 07:15
-
-
Save ynott/54d0cb679efe74e70093 to your computer and use it in GitHub Desktop.
This file contains hidden or 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/bash | |
| ESXI_VER=5.1 | |
| DISTRI=rhel6 | |
| ARCH=x86_64 | |
| wget http://packages.vmware.com/tools/keys/VMWARE-PACKAGING-GPG-DSA-KEY.pub | |
| wget http://packages.vmware.com/tools/keys/VMWARE-PACKAGING-GPG-RSA-KEY.pub | |
| rpm --import ./VMWARE-PACKAGING-GPG-DSA-KEY.pub | |
| rpm --import ./VMWARE-PACKAGING-GPG-RSA-KEY.pub | |
| cat << _EOF_ > /etc/yum.repos.d/vmware-tools.repo | |
| [vmware-tools] | |
| name=VMware Tools | |
| baseurl=http://packages.vmware.com/tools/esx/${ESXI_VER}/${DISTRI}/${ARCH} | |
| enabled=1 | |
| gpgcheck=1 | |
| _EOF_ |
Author
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
yum install vmware-tools-esx-nox
yum install vmware-tools-esx-kmods
yum install vmware-tools-libraries-x.x86_64
yum install vmware-tools-plugins-resolutionSet.x86_64
yum install vmware-tools-hgfs.x86_64