geerlingguy / drupal-vm

A VM for Drupal development
https://www.drupalvm.com/
MIT License
1.38k stars 644 forks source link

Issue #2154: Add vagrant-nfs-fix role to fix NFS timeout issues on macOS #2162

Closed oxyc closed 3 years ago

oxyc commented 3 years ago

It's been a long time since I did anything ansible let alone init.d scripts. Therefore this needs reviews.

It's based on the firewall role, with the inital fix from @MokDevelopment and the systemd service by @susannecoates.

  1. Is there an issue running it as root?
  2. Can we somehow detect if the provisioning host is macos?
  3. I'm just using touch since I'm guessing a timestamp modification should be enough? As I type this, I'm just realizing maybe I should add back the rm so the file doesnt accidentally get committed to git on the host.
  4. I dont have diskspace to build any of the RHEL boxes :/ Could someone try it out?
  5. I don't actually see the issue so someone should test it.

Co-authored-by: MokDevelopment Co-authored-by: Susanne Coates

oxyc commented 3 years ago

While I have you, it would be much appreciated if you could give https://github.com/geerlingguy/packer-drupal-vm/issues/5 another try at some point! It built successfully for me back when I tried at least.

marcelovani commented 3 years ago

Had the same issue after upgrading to BigSur. Thanks for the hack to fix it. I wonder how lot its going to take for Vagrant to do a proper fix.