Setup Shared Folders mount point when 'vmhgf-fuse -e' is success

This commit is contained in:
Ravindra Kumar 2015-09-15 04:22:33 -07:00
parent fcd2fa293b
commit 9da7d817df

View File

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