mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-03-14 00:59:29 +00:00
Update cheatsheets
This commit is contained in:
30
linux/mkosi
Normal file
30
linux/mkosi
Normal file
@@ -0,0 +1,30 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, linux]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# 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`
|
||||
Reference in New Issue
Block a user