Open djmittens opened 10 years ago
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...
+1
+1
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.
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).