-
Notifications
You must be signed in to change notification settings - Fork 4.4k
-
Notifications
You must be signed in to change notification settings - Fork 4.4k
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
make it possible to define the folder for storing the virtual maschines / harddrives #3532
Comments
This is configured from VirtualBox itself. Vagrnat doesn't even choose where the VMs go. |
i know, and i'd like to change that, so that the vm disks are always in .vagrant - is there a chance to do that? |
If you're interested, please do submit a PR and I'd love to take a look. At the moment this isn't a priority. Thanks! |
I have been fighting this as well (in CI env / Jenkins). to achive this. Would be cool if vagrant could fix it - but I see that it's not priority and accept that fact - just my 2 cents. |
yeah I've tried to tackle this before but I think the fact that the machine folder was global was a dealbreaker. VMware ,for example, lets you do it per-VM very easily. With VirtualBox it is POSSIBLE, but tricky. |
just keep in the roadmap 😄 |
@kaystrobach VMware doesn't have this problem. You can set: |
@mitchellh question. in today you do --dry-run, get all the information, and just modify the name from the default to the specified on vagrantfile, or based on the path.. you get what I mean. On this piece of code:
I think is where we can replace the path in disks variable in my windows, an output is:
then, in a .each, just the machine name is replaced with:
My ruby-fu is very low, so I can't suggest a working approach.. But i did a test, and I was able to use this to override the path to Z:\here |
@mitchellh ping.. |
This is a bit an unrelated question, but it's not very far from what is being asked here... Is it safe for directory |
Did this ever get picked up? |
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further. |
it would be nice, if there would be an option to move the virtualbox/vmware config/ disks which are currently stored in
~/Virtualbox VMs
into the .vagrant folder of the VM.This way it would be easier to move / copy the VM from one harddrive/pc/mac to another
And it would also be easier to control where the VM Data is stored.
PS: I know #1247, but that does not fix that with Multiplattform in mind 😠
The text was updated successfully, but these errors were encountered: