Skip to content

Instantly share code, notes, and snippets.

@ynott
Created February 20, 2015 07:15
Show Gist options
  • Select an option

  • Save ynott/54d0cb679efe74e70093 to your computer and use it in GitHub Desktop.

Select an option

Save ynott/54d0cb679efe74e70093 to your computer and use it in GitHub Desktop.
#!/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_
@ynott
Copy link
Copy Markdown
Author

ynott commented Feb 20, 2015

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment