<div dir="ltr">On Thu, Jul 9, 2015 at 12:18 AM, Timothy Rees <span dir="ltr"><<a href="mailto:reestr.uk@gmail.com" target="_blank">reestr.uk@gmail.com</a>></span> wrote:<br><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">I would suggest keeping the root volume as minimal as possible for the<br>
box and then let the end users to grow it using methods provided by<br>
Vagrant.  Anyone then can grow the volume to their specific use case,<br>
its a lot easier than reducing a default, large disk provided with a<br>
box.<br>
<br><br></blockquote><div><br></div><div>The box file size doesn't increase by creating a larger disk partition by default; it dynamically resizes to grow as space is used within the VM.  From the Vagrant docs (<a href="https://docs.vagrantup.com/v2/boxes/base.html">https://docs.vagrantup.com/v2/boxes/base.html</a>):<br><br>"For example, in VirtualBox,
you should create a dynamically resizing drive with a large maximum size.
This causes the actual footprint of the drive to be small initially, but
to dynamically grow towards the max size as disk space is needed, providing
the most flexibility for the end user."<br><br></div><div>I'm not aware of any method for automatically resizing the disk of a base box. See e.g. <a href="http://askubuntu.com/questions/317338/how-can-i-increase-disk-size-on-a-vagrant-vm/318711#318711">http://askubuntu.com/questions/317338/how-can-i-increase-disk-size-on-a-vagrant-vm/318711#318711</a> for a workaround -- but I'd definitely not push that onto e.g. web developers using these VMs, and if I'd have to save my own box image, I'd just create one from scratch in the first place.<br><br>Am I missing some method for resizing the image easily on the fly?  If so, that seems to contradict the Vagrant docs.<br></div><div><br></div><div>-Jeff<br> </div></div><br></div></div>