Closed axelarator closed 2 years ago
Thanks for bringing this to my attention. I have a mac lying around. Will see if I can find a solution or a work around.
@axelarator I have some good news and bad news. Apparently, vagrant does not support setting custom IPs on VMWare Fusion on macOS Big Sur and above.
From vagrant:
"Starting with the Big Sur release VMware Fusion is no longer able to create network devices with custom subnet and mask settings to attach to guests. This means custom IP addresses are not valid when creating a private network."
Luckily we have VirtualBox supported on MacOS and I tested it! I made a new push which addresses a minor issue I faced.
I also installed the vbguest plugin on macOS:
vagrant plugin install vagrant-vbguest
Note that I did the testing on:
I am yet to update the README.md, will await feedback.
Note that the push I made mounts two folders in the project onto the Windows VMs to allow for provisioning.
My bad, didn't meant to close the issue.
Ok so VirtualBox works...almost. The Windows boxes install just fine, but the Linux server gets stuck at boot. The last output in my terminal is nix01: SSH auth method: private key
Looking at the error, it appears to be a Vagrant issue rather than a BackBag issue.
timeout during server version negotiating.```
Now I've tried multiple steps to fix this without success.
~/.vagrant.d/insecure_private_key
vagrant destroy
followed by vagrant up --provider=virtualbox
Thanks for taking the time to test, troubleshoot, and update me!
I'll test the nix box on my machine and see what I can do. Will also see if the issue will be resolved if I switch to another nix box instead of bento's.
@axelarator I faced the same exact issue and updated the Vagrantfile on the main branch with a fix.
I did the following changes under cfg.vm.provider "virtualbox" do |v, override|
:
Added:
v.customize ["modifyvm", :id, "--clipboard", "bidirectional"]
Removed:
v.default_nic_type = "82545EM"
I took the configs from Detectionlab's vagrant file.
Hope it works on your end as well.
Awesome, it works now. Destroyed the box, brought it back up, halted it (this failed before) and it shut down correctly. Then I brought all 4 boxes up without error.
Awesome! Thanks for the feedback. I'll close the issue now.
Operating System Version: MacOS Monterey 12.4 Deploying via VMWare Fusion Vagrant Version: 2.2.19
Description of the issue:
When attempting to bring up any VM, it errors out due to networking issues.
I see this is also a prevalent issue in DetectionLab as well with issue #782 and #602