Repository: aurora Updated Branches: refs/heads/master b417be38f -> 8cd175ad2
Manually configure the private network interface in Vagrant I am not sure of the specifics of why this happens but on vagrant 1.8.6 the network interface does not come up correctly and the private_network is attached to the `eth0` nat interface rather than the host-only interface. I tried a number of different parameters but none of them were able to configure the network appropriately. This change manually configures the static ip so that it is connected to the correct adapter. Without this change I could not access the aurora web interface. Reviewed at https://reviews.apache.org/r/52609/ Project: http://git-wip-us.apache.org/repos/asf/aurora/repo Commit: http://git-wip-us.apache.org/repos/asf/aurora/commit/8cd175ad Tree: http://git-wip-us.apache.org/repos/asf/aurora/tree/8cd175ad Diff: http://git-wip-us.apache.org/repos/asf/aurora/diff/8cd175ad Branch: refs/heads/master Commit: 8cd175ad2ebfb273467f75f3bc79abd51ba8ee8b Parents: b417be3 Author: Andrew Jorgensen <[email protected]> Authored: Thu Oct 6 13:49:01 2016 -0600 Committer: John Sirois <[email protected]> Committed: Thu Oct 6 13:49:01 2016 -0600 ---------------------------------------------------------------------- Vagrantfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/aurora/blob/8cd175ad/Vagrantfile ---------------------------------------------------------------------- diff --git a/Vagrantfile b/Vagrantfile index 5d6e1b2..08131c9 100644 --- a/Vagrantfile +++ b/Vagrantfile @@ -28,7 +28,8 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config| config.vm.box_version = "0.0.9" config.vm.define "devcluster" do |dev| - dev.vm.network :private_network, ip: "192.168.33.7" + dev.vm.network :private_network, ip: "192.168.33.7", :auto_config => false + dev.vm.provision "shell", run: "always", inline: "ifconfig eth1 192.168.33.7 netmask 255.255.255.0 up" dev.vm.provider :virtualbox do |vb| vb.customize ["modifyvm", :id, "--memory", "3072"] vb.customize ["modifyvm", :id, "--natdnshostresolver1", "on"]
