vagrant-landrush / landrush

A Vagrant plugin that provides a simple DNS server for Vagrant guests
MIT License
666 stars 78 forks source link

"host_interface" ignored if only 1 private interface is configured #268

Closed njam closed 7 years ago

njam commented 7 years ago

If only 1 private, but further public interfaces are configured:

    config.vm.network :private_network, ip: '10.10.11.10'
    config.vm.network :public_network, :bridge => 'en0: Wi-Fi (AirPort)'

and we want to use the public interface for landrush:

config.landrush.host_interface = 'eth2'

That configuration is ignored, because landrush assumes the private interface to be the desired one.

hferentschik commented 7 years ago

Merged.