Skip to content
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

Adding aliases for the host computer. #123

Open
djmittens opened this issue Oct 15, 2014 · 4 comments
Open

Adding aliases for the host computer. #123

djmittens opened this issue Oct 15, 2014 · 4 comments

Comments

@djmittens
Copy link

Hi i would like to be able to alias the host computer for access from the vm (particular use case is xdebug for php which does reverse debug connections from server to ide).

@jhoffmann
Copy link

I would like this as well. In chef recipes, you can use node['network']['default_gateway'] if you've setup a private network, but I don't want to have to template all of my Laraval config files in Chef...

@garethahealy
Copy link

+1

@creftos
Copy link

creftos commented Dec 21, 2016

+1

@davidmnoriega
Copy link

I was going to open a new issue, but saw this one, hopefully I can provide more information.

My use case is with the vagrant-proxyconf plugin. I have a squid proxy running on my host machine for caching apt and yum packages and use that plugin to configure the vagrant guest. Issue is I must provide a valid IP for the guest to reach the host. Usually this is the gateway of the first interface that vagrant configures, but that can vary between providers(I use both vmware fusion and virtualbox and each one is different in how networking is setup).

When using the vagrant-proxyconf plugin, I hardcode this IP address in my Vagrantfile, but it would be nice and more portable to use a name that can be set in /etc/hosts.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

6 participants