Open danielhelfand opened 5 years ago
There is a small hack that seemed to work in my case. Had the exact same issue. All I did was created the missing path (like so in your case) : /Users/ehankinson/Projects/leandog/atdd-linux-vagrant-master/ubuntu-xenial-16.04-cloudimg-console.log It solves the problem. Still trying to figure out though how to change the logs path for VBoxManage.
Actually, just figured out. This can be fixed by changing the the Path/Address
settings in the ports
section of the virtual box's settings. Make it to the missing path (/Users/ehankinson/Projects/leandog/atdd-linux-vagrant-master/ubuntu-xenial-16.04-cloudimg-console.log in your case). Ensure that the box was shut down so you can make the change.
The line in the Vagrantfile
vb.customize ["modifyvm", :id, "--uartmode1", "disconnected"]
is supposed to disconnect the UART and not require that location to be there. Apparently this isn't working in all versions of VirtualBox?
May be in macos, need allow permission to document. You can test run another Vagrantfile and re-run your existing vagrant/restore snapshot existing vm.
Yeah, that .customize method is not working in vagrant --version 2.2.2
When I packaged my box, I had a path to that Serial Port that was relative to my computer, hence the message. So the answer was, make sure that setting is corrected (as shown above) before doing a vagrant package
What is an ATDD Repository?
When running
vagrant up
in the base directory of this repository on macOS Mojave, the following error appears:In working some Lean Dog team members, it appears the solution is to open Virtual Box (use
cmd + space
and type Virtual Box and open the Virtual Box application). Click on LDATDDDev, click on the Ports tab, and change the path from/Users/ehankinson/Projects/leandog/atdd-linux-vagrant-master/ubuntu-xenial-16.04-cloudimg-console.log
to/Users/<YOUR USER FOLDER>/<LOCAL PATH TO ATDD REPO>/atdd-linux-vagrant-vm/ubuntu-xenial-16.04-cloudimg-console.log