]> git.ipfire.org Git - thirdparty/mkosi.git/commit
Add RuntimeSize= setting 1944/head
authorDaan De Meyer <daan.j.demeyer@gmail.com>
Sun, 1 Oct 2023 18:20:12 +0000 (20:20 +0200)
committerDaan De Meyer <daan.j.demeyer@gmail.com>
Mon, 2 Oct 2023 08:01:29 +0000 (10:01 +0200)
commit43ef64e7989914bac442d59f2486a13905ec6b6f
tree56d0bb32610db71021718f25c092363ab9269a75
parented9e65d9f94afb3226cbcbfd9639e561482ccdd6
Add RuntimeSize= setting

Currently we unconditionally grow disk images to 8G before booting
them in systemd-nspawn or qemu. Let's do better here by making the
size configurable and not growing the disk images by default.

We also move format_bytes() to config.py as most other formatting
functions are located there.
mkosi/__init__.py
mkosi/config.py
mkosi/qemu.py
mkosi/resources/mkosi.md
mkosi/util.py