Open jojoob opened 7 years ago
This is caused by the configuration created by landrush in /etc/network/interfaces remaining after disabling landrush:
To be clear, you are talking about config on the guest, right? A couple of things here. The network configuration is really a provisioning thing, so I would not expect vagrant reload to touch this out of the box, since it does not run provisioning, unless explicitly requested.
That said, even with vagrant reload --provision the entry will persist. There is atm no inversion of this operation. You basically have to destroy and re-create the VM.
To be clear, you are talking about config on the guest, right?
Yes.
Ok, thanks for the explanation.
You basically have to destroy and re-create the VM.
Or may it help to explicit specify the network configuration in the Vagrantfile and do vagrant reload --provision?
If I disable landrush (
config.landrush.enabled = false
or removing the line completely from Vagrantfile) for a machine that had landrush previously enabled and then load the configuration withvagrant reload
it takes about 3 minutes to boot the machine.This is caused by the configuration created by landrush in
/etc/network/interfaces
remaining after disabling landrush:This causes the machine to searching for the configured network interface that does not longer exists (the additional network interface added to the machine by landrush was removed by disabling landrush):
Vagrant keeps showing
default: Warning: Remote connection disconnect. Retrying...
lines until the machine finished booting.Is there a way to automatically remove the network configuration that landrush added?
Environment
Host: Mac OS X 10.11.6 Vagrant version: 1.8.7 Guest: Ubuntu 14.04 landrush plugin version: 1.2.0