1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2024-10-28 15:19:43 +01:00
tldr/pages/linux/mkosi.md
Vitor Henrique c8f956319f
pages*: simplify page description (#12149)
Co-authored-by: Sebastiaan Speck <12570668+sebastiaanspeck@users.noreply.github.com>
Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
2024-02-14 21:25:13 +01:00

671 B

mkosi

Build modern, legacy-free Linux images. Part of systemd. More information: https://manned.org/mkosi.

  • Show current build configuration to verify what would be built:

mkosi summary

  • Build an image with default settings (if no distribution is selected, the distribution of the host system is used):

mkosi build --distribution {{fedora|debian|ubuntu|arch|opensuse|...}}

  • Build an image and run an interactive shell in a systemd-nspawn container of the image:

mkosi shell

  • Boot an image in a virtual machine using QEMU (only supported for disk images or CPIO images when a kernel is provided):

mkosi qemu

  • Display help:

mkosi help