Skip to content

Commit

Permalink
Merge pull request #252 from lemberg/issue/ga-broken-virtualbox-update
Browse files Browse the repository at this point in the history
Allow 10.0.0.0/8 192.168.0.0/16 ranges to be assigned to host-only adapters
  • Loading branch information
T2L committed Nov 11, 2021
2 parents 728438d + 79c2f92 commit a743d19
Showing 1 changed file with 16 additions and 1 deletion.
17 changes: 16 additions & 1 deletion .github/workflows/Integrate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ jobs:

needs: molecule

runs-on: macos-latest
runs-on: macos-10.15

strategy:
matrix:
Expand Down Expand Up @@ -195,6 +195,21 @@ jobs:
- name: Set Vagrant box to use
run: sed -i '' 's/focal64/${{ matrix.vagrant-box }}/g' default.vm-settings.yml

# See https://github.com/hashicorp/vagrant/pull/12581
- name: Fix missing VagrantPlugins::HostDarwin::Cap::Version on Big Sur
run: |
file_to_patch="/opt/vagrant/embedded/gems/2.2.19/gems/vagrant-2.2.19/plugins/hosts/darwin/cap/path.rb"
download_url="https://raw.githubusercontent.com/hashicorp/vagrant/42db2569e32a69e604634462b633bb14ca20709a/plugins/hosts/darwin/cap/path.rb"
if [ "$(vagrant --version)" = 'Vagrant 2.2.19' ]; then
sudo rm $file_to_patch
sudo wget $download_url -q -O $file_to_patch
fi
- name: Allow 10.0.0.0/8 192.168.0.0/16 ranges to be assigned to host-only adapters
run: |
sudo mkdir /etc/vbox
echo "* 10.0.0.0/8 192.168.0.0/16" | sudo tee -a /etc/vbox/networks.conf
- name: Provision the machine
run: vagrant up

Expand Down

0 comments on commit a743d19

Please sign in to comment.