Discussion:
[vagrant-up] Vagrant Hyper-V VM stored in 2 places
George Maslennikov
2018-10-02 19:55:59 UTC
Permalink
My apologies if this was discussed at some point.

My question is, why does vagrant when you download and import a Hyper-V
box, it puts it in 2 different places, thus doubling the amount of disk
space used.
First it puts uncompressed VM into C:/Users/username/.vagrant.d/boxes/blah
blah blah
Then it also puts in into .vagrant/machines/default/hyperv in the location
of the Vagrantfile.

My VM is 65GB in size, now taking up 130GB in actual disk space.

Is there a way to get around this or at the very least change where it
creates .vagrant/machine/default/hyperv directory structure as it is
putting into my git directory structure.

Thank you
--
This mailing list is governed under the HashiCorp Community Guidelines - https://www.hashicorp.com/community-guidelines.html. Behavior in violation of those guidelines may result in your removal from this mailing list.

GitHub Issues: https://github.com/mitchellh/vagrant/issues
IRC: #vagrant on Freenode
---
You received this message because you are subscribed to the Google Groups "Vagrant" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vagrant-up+***@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vagrant-up/c088ba88-122f-4905-a13c-8bafede5d632%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Alvaro Miranda Aguilera
2018-10-09 20:37:39 UTC
Permalink
one is the template: C:/Users/username/.vagrant.d/boxes/blah

the the other is the local project.

say you have 1 base box, and 6 projects, then you will need 7x space.


Virtualbox and VMWare can use snapshots and that save space.


alvaro.
Post by George Maslennikov
My apologies if this was discussed at some point.
My question is, why does vagrant when you download and import a Hyper-V
box, it puts it in 2 different places, thus doubling the amount of disk
space used.
First it puts uncompressed VM into C:/Users/username/.vagrant.d/boxes/blah
blah blah
Then it also puts in into .vagrant/machines/default/hyperv in the location
of the Vagrantfile.
My VM is 65GB in size, now taking up 130GB in actual disk space.
Is there a way to get around this or at the very least change where it
creates .vagrant/machine/default/hyperv directory structure as it is
putting into my git directory structure.
Thank you
--
This mailing list is governed under the HashiCorp Community Guidelines -
https://www.hashicorp.com/community-guidelines.html. Behavior in
violation of those guidelines may result in your removal from this mailing
list.
GitHub Issues: https://github.com/mitchellh/vagrant/issues
IRC: #vagrant on Freenode
---
You received this message because you are subscribed to the Google Groups "Vagrant" group.
To unsubscribe from this group and stop receiving emails from it, send an
To view this discussion on the web visit
https://groups.google.com/d/msgid/vagrant-up/c088ba88-122f-4905-a13c-8bafede5d632%40googlegroups.com
<https://groups.google.com/d/msgid/vagrant-up/c088ba88-122f-4905-a13c-8bafede5d632%40googlegroups.com?utm_medium=email&utm_source=footer>
.
For more options, visit https://groups.google.com/d/optout.
--
Alvaro
--
This mailing list is governed under the HashiCorp Community Guidelines - https://www.hashicorp.com/community-guidelines.html. Behavior in violation of those guidelines may result in your removal from this mailing list.

GitHub Issues: https://github.com/mitchellh/vagrant/issues
IRC: #vagrant on Freenode
---
You received this message because you are subscribed to the Google Groups "Vagrant" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vagrant-up+***@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vagrant-up/CAHqq0ew1Ts2%3D-oTopSzXrNEqAgcfCim2r1i0dBYVR-uN6V0%2Bng%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
Loading...