support adding a host only network where vagrant does not try to configure the guest #3015

snowch opened this Issue Feb 23, 2014 · 2 comments


None yet
2 participants

snowch commented Feb 23, 2014

This is probably an extreme edge case, so it is understandable if the functionality is not desirable...

I have a guest that runs Xen which requires a hostonly interface, but the guest interface (eth1) should not be configured by Vagrant because the guest interface should be part of a bridge:

iface eth1 inet manual  

auto xenbr0
iface xenbr0 inet static
        bridge_ports eth1
        post-up route del default gw; route add default gw metric 100;

Currently, I'm managing the hostonly interface with modifyvm, but I will need to add a lot of ruby logic to create the hostonly network if it doesn't exist, set the IP address, etc.


mitchellh commented Feb 24, 2014

This is already a feature, just specify auto_config: false as an option. I've added it to the docs now (will deploy with next version release).

mitchellh closed this Feb 24, 2014

snowch commented Feb 24, 2014

Nice!!! Many thanks.

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