Comments (5)
If the guest additions are actually installed there should be no need to mount the synced_folder using NFS. The VirtualBox guest additions provide this capability. Try bringing the VM up using just:
config.vm.synced_folder ".", "/home/web/project"
Otherwise, try using a static IP for the private_network to see if that addresses the issue. If it does, then I'd suspect there is an issue with the DHCP response. It looks like this error is occurring in the VirtualBox provider plugin:
ERROR vagrant: /opt/vagrant/embedded/gems/gems/vagrant-1.8.4/plugins/providers/virtualbox/action/prepare_nfs_settings.rb:131:in
rescue in read_dynamic_machine_ip'`
from vagrant-alpine.
Yeah, i know about synced_folder feature, they work fine. The problem is they are very slow in order to use in real project.
Ok, i'll try to check source of vagrant/vagrant-alpine.
from vagrant-alpine.
The code having an issue isn't part of vagrant-alpine, it is in:
/opt/vagrant/embedded/gems/gems/vagrant-1.8.4/plugins/providers/virtualbox/action/prepare_nfs_settings.rb
which is part of the virtualbox provider plugin for vagrant.
from vagrant-alpine.
Also, with regards to NFS shares and Vagrant, take a look at the comment in the Vagrantfile.example
it talks about using DHCP with NFS shares.
#
# Shared folders
#
# Note, for shared folders via NFS a static IP *must* be provided
# until guest additions can be built and installed out of main.
# The reason being that although a DHCP interface does successfully
# get an IP, virtualbox is unaware of it and therefore cannot
# provide it to Vagrant.
from vagrant-alpine.
@maier
I think you right, it's not and issue with plugin itself. Anyway, thanks for clues. I'll keep searching.
I'll close this issue.
from vagrant-alpine.
Related Issues (20)
- alpine plugin fails on OSX when run with landrush HOT 2
- Support Alpine 3.4 ? HOT 1
- NFS client install returning a 404 HOT 13
- Can't install on LinuxMint 18 HOT 2
- Vagrant error on alpine startup HOT 3
- Does not work, in any order HOT 3
- alpine 3.5 support: small mod needed HOT 1
- `echo 'something' >> /etc/apk/repositories` results in permissions issue HOT 3
- The following SSH command responded with a non-zero exit status??? HOT 1
- Synced Folder SMB support
- vagrant halt doesn't work HOT 2
- Problem with Docker Provisioner HOT 5
- alpine 3.6 includes virtualbox guest addition package
- resolv.conf empty HOT 2
- rsync install
- alpine 3.8 hostname doesn't accept --fqdn option HOT 5
- Could you release a new version HOT 3
- Upstreaming into official Vagrant HOT 3
- Alpine 3.10?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vagrant-alpine.