diff options
author | Benjamin Drung <benjamin.drung@canonical.com> | 2024-05-08 11:26:53 +0200 |
---|---|---|
committer | Benjamin Drung <benjamin.drung@canonical.com> | 2024-05-08 11:26:53 +0200 |
commit | 0f0196d60dd4777ec722a9bf440961d42e0209e0 (patch) | |
tree | f7b662b2182b90a7075ce13497aadc4f06b751d3 /bin/debvm-create | |
parent | 2592e99248bf53cf66959ee8a10b83a673432fe8 (diff) | |
download | debvm-0f0196d60dd4777ec722a9bf440961d42e0209e0.tar.gz |
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
Diffstat (limited to 'bin/debvm-create')
-rwxr-xr-x | bin/debvm-create | 4 |
1 files 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<usrmerge> 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<mmdebstrap options> @@ -176,7 +176,7 @@ set -u ARCHITECTURE= IMAGE=rootfs.ext4 INITSYSTEM=systemd -SIZE=1G +SIZE=2G SKIP=, SSHKEY= SUITE=unstable |