Skip to content

Instantly share code, notes, and snippets.

@eedgar
Created July 25, 2013 20:41
Show Gist options
  • Save eedgar/6083557 to your computer and use it in GitHub Desktop.
Save eedgar/6083557 to your computer and use it in GitHub Desktop.
fedora 18 with updated kernel and shared folder support (3.9.11 kernel)
if [ -f /home/vagrant/linux.iso ]
then
pushd /tmp
mkdir -p /mnt/cdrom
yum -y install gcc
yum -y install patch
yum -y install kernel-devel kernel-headers
# Required for shared folders
yum -y install fuse
mount -o loop /home/vagrant/linux.iso /mnt/cdrom
tar zxvf /mnt/cdrom/VMwareTools-*.tar.gz -C /tmp/
umount /mnt/cdrom
pushd vmware-tools-distrib
wget https://raw.github.com/ebdevrepo/bin/master/vmware_include_fix.sh
chmod +x vmware_include_fix.sh
./vmware_include_fix.sh
wget https://raw.github.com/ebdevrepo/bin/master/vmware9.k3.8rc4.patch
wget https://raw.github.com/ebdevrepo/bin/master/vmware_vmci_fix.sh
chmod +x ./vmware_vmci_fix.sh
./vmware_vmci_fix.sh
wget https://raw.github.com/ebdevrepo/bin/master/vmware9.compat_mm.patch
wget https://raw.github.com/eedgar/vmware_fedora_fixes_bin/master/vmware9.k3.9.patch
wget https://raw.github.com/eedgar/vmware_fedora_fixes_bin/master/vmware_hgfs_fix.sh
chmod +x ./vmware_hgfs_fix.sh
./vmware_hgfs_fix.sh
popd
/tmp/vmware-tools-distrib/vmware-install.pl --clobber-kernel-modules=vmci -d
rm /home/vagrant/linux.iso
popd
fi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment