[systemd-devel] mkosi config to build minimal Ubuntu 22.04 VM image?

Daan De Meyer daan.j.demeyer at gmail.com
Mon Mar 4 14:52:00 UTC 2024


Hi Paul,

Please see the config included in the mkosi repository itself:
https://github.com/systemd/mkosi/blob/main/mkosi.conf and
https://github.com/systemd/mkosi/tree/main/mkosi.conf.d. This should
help you get started. https://mkosi.systemd.io/bootable.html shows how
to build a minimal bootable image for different distributions. mkosi
doesn't concern itself with which packages are installed in the image.
Please refer to your distribution of choice for that.

Cheers,

Daan

On Thu, 29 Feb 2024 at 23:36, Paul Menzel
<pmenzel+systemd-devel at molgen.mpg.de> wrote:
>
> Dear systemd and mkosi folks,
>
>
> I would like to create a minimal Ubuntu 22.04 (Jammy) virtual machine
> image for QEMU/KVM with VirtIO. Inside the VM only systemd, sshd, a
> shell and curl or Wget should be installed. (From this base, one goal is
> then to install BigBlueButton for example.) I found one blog post from
> 2020 [1], but mkosi changed a lot since then.
>
>
> Thank you in advance and kind regards,
>
> Paul
>
>
> [1]: https://krystof.litomisky.com/2020/09/08/mkosi-for-ubuntu/


More information about the systemd-devel mailing list