Commit 0dff1888 authored by Lavar Askew's avatar Lavar Askew Committed by Darek Stojaczyk
Browse files

Vagrant: Remove private network DHCP setup for all Ubuntu distros.



Private network DHCP would put the wrong nameserver in the /etc/resolv.conf
file.  This would break apt-get or anything that needed network access.
Removing that line from the Vagrantfile caused this to work.

Change-Id: I66dab9ddf72018a8e39e8e24d0b8175173ddb8f1
Signed-off-by: default avatarLavar Askew <open.hyperion@gmail.com>
Reviewed-on: https://review.gerrithub.io/c/434392


Tested-by: default avatarSPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: default avatarBen Walker <benjamin.walker@intel.com>
Reviewed-by: default avatarVitaliy Mysak <vitaliy.mysak@intel.com>
Reviewed-by: default avatarDarek Stojaczyk <dariusz.stojaczyk@intel.com>
Reviewed-by: default avatarKarol Latecki <karol.latecki@intel.com>
parent d1399f44
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -78,7 +78,9 @@ Vagrant.configure(2) do |config|
    config.cache.scope = :box
  end

  if !(distro.include?("ubuntu"))
    config.vm.network "private_network", type: "dhcp"
  end

  # use http proxy if avaiable
  if ENV['http_proxy'] && Vagrant.has_plugin?("vagrant-proxyconf")