Parallels / vagrant-parallels

Vagrant Parallels Provider
https://parallels.github.io/vagrant-parallels
MIT License
996 stars 87 forks source link

Ubuntu VM won't reload if shared folder mounted with parallels type #392

Closed ph55 closed 3 years ago

ph55 commented 3 years ago

If vm.synced_folder.type set to RSync VM would be able to reload (vagrant reload).

==> test: Configuring and enabling network interfaces...
==> test: Rsyncing folder: /Users/sasa/Dev/vagrant/ => /vagrant
==> test: Rsyncing folder: /Users/sasa/DevPHP/test/ => /var/www/test
==> test: Machine already provisioned. Run `vagrant provision` or use the `--provision`
==> test: flag to force provisioning. Provisioners marked to run always will still run.

But if vm.synced_folder.type left empty or set to parallels VM won't reload.

==> test: Rsyncing folder: /Users/sasa/Dev/vagrant/ => /vagrant
==> test: Mounting shared folders...
    test: /var/www/test => /Users/sasa/DevPHP/test
==> test: Machine already provisioned. Run `vagrant provision` or use the `--provision`
==> test: flag to force provisioning. Provisioners marked to run always will still run.
==> test: Booting VM...
==> test: Waiting for machine to boot. This may take a few minutes...
    test: SSH address: XX.XXX.XX.XX:22
    test: SSH username: vagrant
    test: SSH auth method: private key
    test: Warning: Host appears down. Retrying...
    test: Warning: Connection refused. Retrying...
    test: Warning: Connection refused. Retrying...
    test: Warning: Connection refused. Retrying...
    test: Warning: Connection refused. Retrying...
legal90 commented 3 years ago

Hi @ph55, It looks the same as https://github.com/Parallels/vagrant-parallels/issues/389. It was fixed in the release v2.2.2: https://github.com/Parallels/vagrant-parallels/releases/tag/v2.2.2

Please, update the vagrant-parallels plugin and try again