exratione / vagrant-provision-reboot

A plugin to allow reboot of a VM during the Vagrant provisioning process.
MIT License
22 stars 8 forks source link

Doesn't work with Parallels provider #3

Open carcus88 opened 10 years ago

carcus88 commented 10 years ago

I tried using this with the Parallels provider and got the following message

==> default: Running provisioner: windows_reboot...
==> default: Issuing command: shutdown -t 0 -r -f
==> default: Launching remount_synced_folders action...
Vagrant attempted to call the action 'remount_synced_folders' on the provider
'Parallels (02b826ce-ecb8-4525-b64b-d3a7ac8de565)', but this provider doesn't support this action. This
is probably a bug in either the provider or the plugin calling this
action, and should be reported.
exratione commented 10 years ago

Right, per inline comments:

# This will work for the VirtualBox provider. For other providers, a
# 'remount_synched_folders' action must be added to the provider implementation.

It should be possible and pretty quick to get things set up for Parallels using the existing code as a template. Might be as simple as changing which class is being monkey-patched, but I haven't looked at this at all.

exratione commented 9 years ago

You should use https://github.com/aidanns/vagrant-reload instead. It should work, and is a better approach than this one.