Replies: 1 comment 1 reply
-
Hi @eden1991 10.0.2.2 is the default static reachable IP address from your VM. The 192.168.x.x IP is coming from MacOS and due to the use of shared Interface and it can vary. Since vagrant is unaware of this dynamic IP , they use a static one. I had similar experience with packer plugin when VM had to reach service running in the host. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I'm trying to setup a synced folder with nfs but vagrant tries to mount using
10.0.2.2
instead of192.168.64.1
and consequently fails:Running the mount command by hand with
192.168.64.1
works:Here is my Vagrantfile:
Any idea why it tries to use
10.0.2.2
? Is there a way to override it with192.168.64.1
?Beta Was this translation helpful? Give feedback.
All reactions