Create a gist now

Instantly share code, notes, and snippets.

#!/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