Last active
August 29, 2015 14:16
-
-
Save trodemaster/94ec1f1b24711a050634 to your computer and use it in GitHub Desktop.
tools-rhel6-latest.sh
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/sh | |
# Install latest vmware tools from vmware.com repo for rhel 6 | |
# get cert | |
wget -P /tmp http://packages.vmware.com/tools/keys/VMWARE-PACKAGING-GPG-RSA-KEY.pub | |
# install cert | |
sudo rpm --import /tmp/VMWARE-PACKAGING-GPG-RSA-KEY.pub | |
# Setup repo | |
sudo sh -c "cat > /etc/yum.repos.d/vmware-tools.repo" <<EOF | |
[vmware-tools] | |
name=VMware Tools for CentOS or RHEL | |
baseurl=http://packages.vmware.com/tools/esx/latest/rhel6/x86_64/ | |
enabled=1 | |
gpgcheck=1 | |
gpgkey=file:///srv/crypto/VMWARE-PACKAGING-GPG-RSA-KEY.pub | |
EOF | |
# install the tools package | |
sudo yum -y install vmware-tools-esx-nox | |
sudo yum -y install vmware-tools-esx-kmods | |
sudo yum -y install vmware-tools-vmmemctl-common | |
sudo yum -y install vmware-tools-vmxnet3-common | |
sudo yum -y install vmware-tools-pvscsi-common |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment