I'd like to use a macOS vagrant box that I've built to use a synced folder using the Parallels shared folder. If I specify type "Parallels" I get a significant crash. If I don't specify the type then I won't get the folder. If I specify "Rsync" it copies the folders and files over but I have re-provision every time I change any of the code. Ideally I'd like this to be a live shared folder in the OS. There appears to be code to handle this in the plugin but it generates the following crash. (this happens with vagrant up, vagrant reload, vagrant provision, etc.)
/opt/vagrant/embedded/gems/gems/vagrant-2.4.9/lib/vagrant/action/builtin/mixin_synced_folders.rb:142:in `block in synced_folders': Internal error. Report this as a bug. Invalid: Parallels (RuntimeError)
from /opt/vagrant/embedded/gems/gems/vagrant-2.4.9/lib/vagrant/action/builtin/mixin_synced_folders.rb:130:in `each'
from /opt/vagrant/embedded/gems/gems/vagrant-2.4.9/lib/vagrant/action/builtin/mixin_synced_folders.rb:130:in `synced_folders'
from /opt/vagrant/embedded/gems/gems/vagrant-2.4.9/lib/vagrant/machine.rb:635:in `synced_folders'
from /opt/vagrant/embedded/gems/gems/vagrant-2.4.9/plugins/kernel_v2/config/vm.rb:747:in `validate'
from /opt/vagrant/embedded/gems/gems/vagrant-2.4.9/lib/vagrant/config/v2/root.rb:75:in `block in validate'
from /opt/vagrant/embedded/gems/gems/vagrant-2.4.9/lib/vagrant/config/v2/root.rb:70:in `each'
from /opt/vagrant/embedded/gems/gems/vagrant-2.4.9/lib/vagrant/config/v2/root.rb:70:in `validate'
from /opt/vagrant/embedded/gems/gems/vagrant-2.4.9/lib/vagrant/action/builtin/config_validate.rb:18:in `call'
from /opt/vagrant/embedded/gems/gems/vagrant-2.4.9/lib/vagrant/action/warden.rb:38:in `call'
from /opt/vagrant/embedded/gems/gems/vagrant-2.4.9/lib/vagrant/action/builder.rb:183:in `call'
from /opt/vagrant/embedded/gems/gems/vagrant-2.4.9/lib/vagrant/action/runner.rb:104:in `block in run'
from /opt/vagrant/embedded/gems/gems/vagrant-2.4.9/lib/vagrant/util/busy.rb:22:in `busy'
from /opt/vagrant/embedded/gems/gems/vagrant-2.4.9/lib/vagrant/action/runner.rb:104:in `run'
from /opt/vagrant/embedded/gems/gems/vagrant-2.4.9/lib/vagrant/machine.rb:244:in `action_raw'
from /opt/vagrant/embedded/gems/gems/vagrant-2.4.9/lib/vagrant/machine.rb:213:in `block in action'
from /opt/vagrant/embedded/gems/gems/vagrant-2.4.9/lib/vagrant/environment.rb:647:in `lock'
from /opt/vagrant/embedded/gems/gems/vagrant-2.4.9/lib/vagrant/machine.rb:199:in `call'
from /opt/vagrant/embedded/gems/gems/vagrant-2.4.9/lib/vagrant/machine.rb:199:in `action'
from /opt/vagrant/embedded/gems/gems/vagrant-2.4.9/plugins/commands/reload/command.rb:45:in `block in execute'
from /opt/vagrant/embedded/gems/gems/vagrant-2.4.9/lib/vagrant/plugin/v2/command.rb:248:in `block in with_target_vms'
from /opt/vagrant/embedded/gems/gems/vagrant-2.4.9/lib/vagrant/plugin/v2/command.rb:237:in `each'
from /opt/vagrant/embedded/gems/gems/vagrant-2.4.9/lib/vagrant/plugin/v2/command.rb:237:in `with_target_vms'
from /opt/vagrant/embedded/gems/gems/vagrant-2.4.9/plugins/commands/reload/command.rb:43:in `execute'
from /opt/vagrant/embedded/gems/gems/vagrant-2.4.9/lib/vagrant/cli.rb:67:in `execute'
from /opt/vagrant/embedded/gems/gems/vagrant-2.4.9/lib/vagrant/environment.rb:317:in `cli'
from /opt/vagrant/embedded/gems/gems/vagrant-2.4.9/bin/vagrant:238:in `<main>'
Additionally, I know that the parallels tools are installed but I will inconsistently get messages during the up command that suggests that parallels tools are not installed. (i've reinstalled them on the vm 3+ times)
When I search for it on disk I find the following items so I know it's installed:
% vagrant ssh -c "find / -name '*parallels*' -o -name '*prl*' 2>/dev/null | head -20"
/usr/local/bin/prl_nettool
/usr/share/vim/vim91/ftplugin/hyprlang.vim
/Library/Logs/parallels.log
/Library/Parallels Guest Tools/prlcopypaste
/Library/Parallels Guest Tools/prl_nettool
/Library/Parallels Guest Tools/prltoolsd
/Library/LaunchAgents/com.parallels.copypaste.plist
/Library/LaunchDaemons/com.parallels.vm.prltoolsd.plist
/System/Volumes/Data/usr/local/bin/prl_nettool
/System/Volumes/Data/usr/share/vim/vim91/ftplugin/hyprlang.vim
/System/Volumes/Data/Library/Logs/parallels.log
/System/Volumes/Data/Library/Parallels Guest Tools/prlcopypaste
/System/Volumes/Data/Library/Parallels Guest Tools/prl_nettool
/System/Volumes/Data/Library/Parallels Guest Tools/prltoolsd
/System/Volumes/Data/Library/LaunchAgents/com.parallels.copypaste.plist
/System/Volumes/Data/Library/LaunchDaemons/com.parallels.vm.prltoolsd.plist
/System/Volumes/Data/private/var/db/receipts/com.parallels.pkg.guestostools.ut.bom
/System/Volumes/Data/private/var/db/receipts/com.parallels.pkg.guestostools.iagent.bom
/System/Volumes/Data/private/var/db/receipts/com.parallels.pkg.guestostools.copypaste.bom
/System/Volumes/Data/private/var/db/receipts/com.parallels.pkg.guestostools.copypaste.plist
==> default: Attempting graceful shutdown of VM...
==> default: Preparing network interfaces based on configuration...
default: Adapter 0: shared
==> default: Clearing any previously set network interfaces...
==> default: Booting VM...
==> default: Waiting for machine to boot. This may take a few minutes...
default: SSH address: x.x.x.x:22
default: SSH username: vagrant
default: SSH auth method: private key
==> default: Machine booted and ready!
==> default: Checking for Parallels Tools installed on the VM...
==> default: Parallels Tools were not detected on this VM! They are required
==> default: for shared folders, time sync and more. If shared folders are not
==> default: working on this machine, please install Parallels Tools within the
==> default: virtual machine and reload your VM.
I'd like to use a macOS vagrant box that I've built to use a synced folder using the Parallels shared folder. If I specify type "Parallels" I get a significant crash. If I don't specify the type then I won't get the folder. If I specify "Rsync" it copies the folders and files over but I have re-provision every time I change any of the code. Ideally I'd like this to be a live shared folder in the OS. There appears to be code to handle this in the plugin but it generates the following crash. (this happens with
vagrant up,vagrant reload,vagrant provision, etc.)Additionally, I know that the parallels tools are installed but I will inconsistently get messages during the
upcommand that suggests that parallels tools are not installed. (i've reinstalled them on the vm 3+ times)When I search for it on disk I find the following items so I know it's installed: