-
Notifications
You must be signed in to change notification settings - Fork 37
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
reload + vb.customize = sad #6
Comments
The same problem here with virtualbox-5.0, Ubuntu 14.04, 3.13.0-85-generic, vagrant_1.8.1_x86_64.deb. Virtualbox to 4.3.38r106717 reloads without errors.
|
I had a similar problem. For me the problem could be solved to shorten the file path ot the image. On Windows for example the maximum length of a file path is 260 chars. |
Reloading works fine on VirtualBox 4.3, because |
This is still a problem. And reverting to an old version of VirtualBox is not a good solution. Is there any way to have reload clear out the provider object or something? |
This project is not maintained. Switch to https://github.com/vagrant-libvirt/vagrant-libvirt if you can, it does not seem to have such problems. |
On the eve to 2019 and the problem still persists. I also tried many different variants of how to wrap that "pre boot customization" in various conditionals - but it seems like whenever the reload happens the vm is properly shutdown and then vagrant tries to do the "pre boot customizations" again while ignoring every conditional constructs around them. Could this be an issue with the evaluation order of vagrant files? I found a workaround...I extracted the vboxmanage createmedium disk command to a shell script and then call vagrant up. that way the provisioning works. |
In my vagrant file i have something like this
Problem that i'm running into, is that when reload executes - it appears the value of the "File.exists?" isn't being re-evaluated, so the condition still returns false adn the createhd executes again, which errors out.
i've tested that if the file exists before hand, teh File.exists triggers, so i know my logic/paths aren't bad there. Definitely some interaction between reload + customizer
The text was updated successfully, but these errors were encountered: