Unverified Commit 504e9396 authored by Tim Gross's avatar Tim Gross Committed by GitHub
Browse files

tools: update virtualbox networking configuration (#11561)

As of VirtualBox 6.1.28, host-only networks are restricted to
`192.168.56.0/21` by default, so spinning up the Vagrant boxes with
secondary networks fail with an error `E_ACCESSDENIED`.

Update the IP configuration of the Vagrant boxes to fall within the
allowed range so that we don't need to ask developers from the
community to make VirtualBox configuration updates outside of their
normal Vagrant use.
Showing with 3 additions and 3 deletions
+3 -3
......@@ -5,7 +5,7 @@
LINUX_BASE_BOX = "bento/ubuntu-18.04"
FREEBSD_BASE_BOX = "freebsd/FreeBSD-11.3-STABLE"
LINUX_IP_ADDRESS = "10.199.0.200"
LINUX_IP_ADDRESS = "192.168.56.200"
Vagrant.configure(2) do |config|
# Compilation and development boxes
......@@ -82,8 +82,8 @@ Vagrant.configure(2) do |config|
1.upto(3) do |n|
serverName = "nomad-server%02d" % [n]
clientName = "nomad-client%02d" % [n]
serverIP = "10.199.0.%d" % [10 + n]
clientIP = "10.199.0.%d" % [20 + n]
serverIP = "192.168.56.%d" % [10 + n]
clientIP = "192.168.56.%d" % [20 + n]
config.vm.define serverName, autostart: false, primary: false do |vmCfg|
vmCfg.vm.box = LINUX_BASE_BOX
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment