Skip to content

Instantly share code, notes, and snippets.

@ataliba
Created April 22, 2014 15:49
Show Gist options
  • Save ataliba/11184363 to your computer and use it in GitHub Desktop.
Save ataliba/11184363 to your computer and use it in GitHub Desktop.
#!/bin/sh
echo "Installing Vmware Tools on your system ... "
yum -y install perl
mkdir /mnt/cdrom
mount /dev/cdrom /mnt/cdrom
cp /mnt/cdrom/VMwareTools-*.tar.gz /tmp
umount /mnt/cdrom
tar -zxf /tmp/VMwareTools-*.tar.gz -C /tmp
cd /
./tmp/vmware-tools-distrib/vmware-install.pl --default
rm -f /tmp/VMwareTools-*.tar.gz
rm -rf /tmp/vmware-tools-distrib
echo "Installed . "
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment