-
Notifications
You must be signed in to change notification settings - Fork 7.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Virtual box vagrant do not set /etc/hosts correctly #169
Comments
Hello @rrameshbtech and others, I am suffering this issue too. It looks like the the root cause can be in the setup-hosts.sh script:
When If you still want to use the bridge mode a quick, dirty and temporary workaround can be to setup these IPs manually in the Funny thing is that couple of weeks ago this bridge mode was working fine for me, it seems that the setup_dns function was being executed "too early" 😅 when the VM networking (IP, gateway...) is not yet ready 🤔 Good news are that NAT mode works like a charm 🙌, so maybe this could be an option for you. Hope it helps, Luis ps: nevertheless it would be nice if BRIDGE mode would work for me too (as it is the default one). My stack looks like this:
With this conf my VMs are running with these IPs:
Thank you in advance 🙏 |
I am setting up cluster using
/virtualbox/
folder. But it does not set the /etc/hosts/. The output of vagrant up belowThough I set it manually and set
ssh
. aftervagrant halt
&vagrant up
then all the ssh settings were lost.I am using
BRIDGE
mode.Any help appriciated.
The text was updated successfully, but these errors were encountered: