From 9da7d817df3aeb59317852f8576c69eb531465e6 Mon Sep 17 00:00:00 2001 From: Ravindra Kumar Date: Sep 15 2015 11:22:33 +0000 Subject: Setup Shared Folders mount point when 'vmhgf-fuse -e' is success --- diff --git a/open-vm-tools.spec b/open-vm-tools.spec index ad204c4..afe4bfc 100644 --- a/open-vm-tools.spec +++ b/open-vm-tools.spec @@ -28,7 +28,7 @@ Name: open-vm-tools Version: %{toolsversion} -Release: 5%{?dist} +Release: 6%{?dist} Summary: Open Virtual Machine Tools for virtual machines hosted on VMware Group: Applications/System License: GPLv2 @@ -178,9 +178,11 @@ if [ -f %{_bindir}/vmware-guestproxycerttool ]; then fi # Setup mount point for Shared Folders -if [ -f %{_bindir}/vmware-checkvm ] && \ - %{_bindir}/vmware-checkvm &> /dev/null && \ - %{_bindir}/vmware-checkvm -p | grep -q Workstation; then +if [ -f %{_bindir}/vmware-checkvm -a \ + -f %{_bindir}/vmhgfs-fuse ] && \ + %{_bindir}/vmware-checkvm &> /dev/null && \ + %{_bindir}/vmware-checkvm -p | grep -q Workstation && \ + %{_bindir}/vmhgfs-fuse -e; then mkdir -p /mnt/hgfs fi @@ -279,6 +281,9 @@ fi %{_libdir}/libvmtools.so %changelog +* Thu Oct 01 2015 Ravindra Kumar - 10.0.0-6 +- Setup Shared Folders mount point when 'vmhgf-fuse -e' is success + * Thu Oct 01 2015 Ravindra Kumar - 10.0.0-5 - Setup and teardown Shared Folders mount point on VMs running on VMware Workstation or VMware Fusion.