Skip to content

Commit

Permalink
Merge pull request #1122 from max-arnold/master
Browse files Browse the repository at this point in the history
Fix startup mount error on Parallels 14 guest tools
  • Loading branch information
Seth Thomas authored Oct 10, 2018
2 parents d0933ab + f7bc469 commit 2794986
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions _common/parallels.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,16 @@ parallels-iso|parallels-pvm)
umount /tmp/parallels;
rm -rf /tmp/parallels;
rm -f $HOME_DIR/*.iso;

# Parallels Tools for Linux includes native auto-mount script,
# which causes losing some of Vagrant-relative shared folders.
# So, we should disable this behavior.
# https://github.com/Parallels/vagrant-parallels/issues/325#issuecomment-418727113
auto_mount_script='/usr/bin/prlfsmountd'
if [ -f "${auto_mount_script}" ]; then
echo -e '#!/bin/sh\n'\
'# Shared folders auto-mount is disabled by Vagrant ' \
> "${auto_mount_script}"
fi
;;
esac

0 comments on commit 2794986

Please sign in to comment.