From 504e93966b86cda783236596c3a1d90613b1c41c Mon Sep 17 00:00:00 2001 From: Tim Gross Date: Wed, 24 Nov 2021 10:45:58 -0500 Subject: [PATCH] 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. --- Vagrantfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Vagrantfile b/Vagrantfile index ba5cb0780..b3061439d 100644 --- a/Vagrantfile +++ b/Vagrantfile @@ -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