Skip to content

Bigger virtual disk size for vagrant images #295

@abbbi

Description

@abbbi

hi there,

thanks for providing the official images for vagrant. Currently the image disk size is 20 GB which leaves ~13 GB for application data, IMHO this is quite small. Would it be possible to raise the virtual disk size for the images to around 100 or 120 GB? As the resulting images are thin provisioned anyway, that should make no difference, but leave more space.

Of course there are ways to workaround this, like assigning a second disk or whatever, but the default is pretty low compared to images of other distributions.

Personally ive rebuilt the libvirt images with:

diff --git a/variables.pkr.hcl b/variables.pkr.hcl
index 1819b01..c9c1a0a 100644
--- a/variables.pkr.hcl
+++ b/variables.pkr.hcl
@@ -945,7 +945,7 @@ variable "vagrant_disk_size" {
   description = "The size in MiB of hard disk of VM"
 
   type    = number
-  default = 20000
+  default = 120000
 }

and they seem to work flawlessly, leaving enough space on / to work with.

Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions