snippetbashTip
mkosi — Build modern, legacy-free Linux images. Part of `systemd`. More information: <https://manned.org/mko
Viewed 0 times
legacycommandbuildmodernclifreelinuxmkosi
linux
Problem
How to use the
mkosi command: Build modern, legacy-free Linux images. Part of systemd. More information: <https://manned.org/mkosi>.Solution
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 summaryBuild 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 shellBoot an image in a virtual machine using QEMU (only supported for disk images or CPIO images when a kernel is provided):
mkosi qemuDisplay help:
mkosi helpCode Snippets
Show current build configuration to verify what would be built
mkosi summaryBuild 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 shellBoot an image in a virtual machine using QEMU (only supported for disk images or CPIO images when a kernel is provided)
mkosi qemuDisplay help
mkosi helpContext
tldr-pages: linux/mkosi
Revisions (0)
No revisions yet.