From 0f0196d60dd4777ec722a9bf440961d42e0209e0 Mon Sep 17 00:00:00 2001 From: Benjamin Drung Date: Wed, 8 May 2024 11:26:53 +0200 Subject: debvm-create: Increase default VM size to 2G The Ubuntu 24.04 (noble) image is 1.1G in size and an image size of 1 GB does not fit it. ``` $ du -ht 50M / 77M /boot 56M /usr/lib/x86_64-linux-gnu 106M /usr/lib/modules/6.8.0-31-generic/kernel/drivers 147M /usr/lib/modules/6.8.0-31-generic/kernel 154M /usr/lib/modules/6.8.0-31-generic 154M /usr/lib/modules 78M /usr/lib/firmware/mellanox 72M /usr/lib/firmware/mrvl/prestera 78M /usr/lib/firmware/mrvl 59M /usr/lib/firmware/qcom 481M /usr/lib/firmware 721M /usr/lib 780M /usr 86M /var/lib/dpkg 170M /var/lib/apt/lists 170M /var/lib/apt 257M /var/lib 266M /var 1.1G / ``` Increase the default VM size to 2G. LP: #2064921 --- bin/debvm-create | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/debvm-create b/bin/debvm-create index 7b1ca3d..526fc89 100755 --- a/bin/debvm-create +++ b/bin/debvm-create @@ -119,7 +119,7 @@ Without the hook, dependencies will pull the B package as needed, whic Specify the minimum image size as an integer and optional unit (example: 10K is 10*1024). Units are K,M,G,T (powers of 1024). The resulting image will be grown as a sparse file to this size if necessary. -The default is 1 GB. +The default is 2 GB. =item B<--> I @@ -176,7 +176,7 @@ set -u ARCHITECTURE= IMAGE=rootfs.ext4 INITSYSTEM=systemd -SIZE=1G +SIZE=2G SKIP=, SSHKEY= SUITE=unstable -- cgit v1.2.3