Setup Shared Folders mount point when 'vmhgf-fuse -e' is success
This commit is contained in:
parent
fcd2fa293b
commit
9da7d817df
@ -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 <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
|
||||
- Setup and teardown Shared Folders mount point on VMs running
|
||||
on VMware Workstation or VMware Fusion.
|
||||
|
Loading…
Reference in New Issue
Block a user